Merge pull request #13171 from rabbitmq/oci-version

Set RABBITMQ_VERSION in the OCI image
This commit is contained in:
Michal Kuratczyk 2025-01-29 11:35:58 +01:00 committed by GitHub
commit 8d9aa3ed31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -25,6 +25,7 @@ on:
default: false
env:
REGISTRY_IMAGE: pivotalrabbitmq/rabbitmq
VERSION: 4.1.0+${{ github.sha }}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
@ -58,7 +59,7 @@ jobs:
- name: make package-generic-unix
if: steps.authorized.outputs.authorized == 'true'
run: |
make package-generic-unix PROJECT_VERSION=4.1.0-alpha.1
make package-generic-unix PROJECT_VERSION=${{ env.VERSION }}
- name: Upload package-generic-unix
if: steps.authorized.outputs.authorized == 'true'
uses: actions/upload-artifact@v4
@ -118,5 +119,6 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
cache-to: type=gha,mode=max,scope=${{ matrix.otp_version }}
cache-from: type=gha,scope=${{ matrix.otp_version }}
build-args:
build-args: |
OTP_VERSION=${{ matrix.otp_version }}
RABBITMQ_VERSION=${{ env.VERSION }}