Skip to content

Commit dc5cc7b

Browse files
committed
ci: test building image
1 parent 8b21900 commit dc5cc7b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
- v*
66
branches:
77
- master
8+
- ci/build-rabbitmq-image
89
jobs:
910
build:
1011
runs-on: ubuntu-latest
@@ -42,6 +43,7 @@ jobs:
4243
- name: Build and push
4344
# https://github.com/docker/build-push-action/releases/tag/v6.15.0
4445
uses: docker/build-push-action@471d1dc4e07e5cdedd4c2171150001c434f0b7a4
46+
if: steps.tags.outputs.tags != ''
4547
with:
4648
push: true
4749
tags: ${{ steps.tags.outputs.tags }}

scripts/github/docker.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ def prep_tags(environ: Dict):
5757
else:
5858
# A push to any other branch creates a dev tag
5959
# XXX: We currently do not run on other branches
60-
tags.add(base_ecr_tag + 'dev-{}-{}'.format(sha, timestamp))
60+
# tags.add(base_ecr_tag + 'dev-{}-{}'.format(sha, timestamp))
61+
rabbitmq_tags.add(base_dockerhub_tag + 'latest-rabbitmq')
6162

6263
return tags, rabbitmq_tags
6364

0 commit comments

Comments
 (0)