File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 username : ${{ github.actor }}
4040 password : ${{ secrets.GITHUB_TOKEN }}
4141
42+ - name : Set rabbitmq version
43+ id : rabbitmq-version
44+ run : |
45+ if [[ "${{ inputs.rabbitmq_version }}" == "" ]]; then
46+ echo "RABBITMQ_VERSION=3.13-alpine" >> $GITHUB_OUTPUT
47+ else
48+ echo "RABBITMQ_VERSION=${{ inputs.rabbitmq_version }}" >> $GITHUB_OUTPUT
49+ fi
50+
4251 - name : Docker Build & Push
4352 uses : docker/build-push-action@v6
4453 env :
4857 file : dev/mq/Dockerfile
4958 platforms : linux/amd64,linux/arm64
5059 push : true
51- build-args : RABBITMQ_VERSION=${{ inputs.rabbitmq_version }}
60+ build-args : RABBITMQ_VERSION=${{ steps.rabbitmq-version.outputs.RABBITMQ_VERSION }}
5261 tags : |
53- ghcr.io/ietf-tools/datatracker-mq:${{ inputs.rabbitmq_version }}
62+ ghcr.io/ietf-tools/datatracker-mq:${{ steps.rabbitmq-version.outputs.RABBITMQ_VERSION }}
5463 ghcr.io/ietf-tools/datatracker-mq:latest
You can’t perform that action at this time.
0 commit comments