Skip to content

Commit

Permalink
ci: specify/parameterize rabbitmq version (#6308)
Browse files Browse the repository at this point in the history
* ci: Specify / parameterize rabbitmq version

* ci: Fix syntax in build-mq-broker.yml
  • Loading branch information
jennifer-richards authored Sep 14, 2023
1 parent a3fb6a4 commit bc5c411
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-mq-broker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:

workflow_dispatch:

env:
RABBITMQ_VERSION: 3.11-alpine

jobs:
publish:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -40,5 +43,7 @@ jobs:
file: dev/mq/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/ietf-tools/datatracker-mq:latest

build-args: RABBITMQ_VERSION=${{ env.RABBITMQ_VERSION }}
tags: |
ghcr.io/ietf-tools/datatracker-mq:${{ env.RABBITMQ_VERSION }}
ghcr.io/ietf-tools/datatracker-mq:latest
4 changes: 3 additions & 1 deletion dev/mq/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Dockerfile for RabbitMQ worker
#
FROM rabbitmq:3-alpine
ARG RABBITMQ_VERSION=3.11-alpine

FROM rabbitmq:${RABBITMQ_VERSION}
LABEL maintainer="IETF Tools Team <[email protected]>"

# Copy the startup file
Expand Down

0 comments on commit bc5c411

Please sign in to comment.