Skip to content

Commit

Permalink
compile with 26 and 27
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuratczyk committed Jan 24, 2025
1 parent 0d17d44 commit 7a944c1
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/oci-make.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ concurrency:
cancel-in-progress: true
jobs:
build-package-generic-unix:
strategy:
matrix:
otp_version: [26, 27]
runs-on: ubuntu-latest
outputs:
authorized: ${{ steps.authorized.outputs.authorized }}
Expand All @@ -37,8 +40,8 @@ jobs:
if: steps.authorized.outputs.authorized == 'true'
uses: erlef/setup-beam@v1
with:
otp-version: 27.2
elixir-version: 1.17
otp-version: ${{ matrix.otp_version }}
elixir-version: latest
- name: make package-generic-unix
if: steps.authorized.outputs.authorized == 'true'
run: |
Expand All @@ -47,17 +50,17 @@ jobs:
if: steps.authorized.outputs.authorized == 'true'
uses: actions/upload-artifact@v4
with:
name: package-generic-unix
name: package-generic-unix-otp${{ matrix.otp_version }}
path: PACKAGES/rabbitmq-server-*.tar.xz

build:
needs: build-package-generic-unix
runs-on: ubuntu-latest
if: ${{ needs.build-package-generic-unix.outputs.authorized }} == 'true'
build-and-push:
strategy:
fail-fast: false
matrix:
otp_version: [26, 27]
needs: build-package-generic-unix-otp${{matrix.otp_version}}
runs-on: ubuntu-latest
if: ${{ needs.build-package-generic-unix.outputs.authorized }} == 'true'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -97,7 +100,7 @@ jobs:
context: packaging/docker-image
platforms: linux/amd64, linux/arm64
labels: ${{ steps.meta.outputs.labels }}
tags: pivotalrabbitmq/rabbitmq-test:${{ matrix.otp_version }}
tags: pivotalrabbitmq/rabbitmq-test:otp${{ matrix.otp_version }}
cache-to: type=gha
cache-from: type=gha
#outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
Expand Down

0 comments on commit 7a944c1

Please sign in to comment.