We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27eb3e9 commit b4a1d3aCopy full SHA for b4a1d3a
1 file changed
.github/workflows/push-docker.yaml
@@ -20,6 +20,8 @@ on:
20
push:
21
tags:
22
- '*'
23
+ branches:
24
+ - master
25
26
jobs:
27
docker:
@@ -47,10 +49,20 @@ jobs:
47
49
username: ${{ secrets.DOCKERHUB_USER }}
48
50
password: ${{ secrets.DOCKERHUB_TOKEN }}
51
-
- name: Build and push multi-arch image
52
+ name: Build and push multi-arch image (Tag)
53
+ if: github.ref_type == 'tag'
54
env:
55
TAG: ${{ github.ref_name }}
56
IMAGE_TAG: ${{ github.ref_name }}
57
run: |
58
echo "building multi-arch images with tag: $TAG"
59
make build-push-multi-arch-image
60
+ -
61
+ name: Build and push multi-arch image (Dev)
62
+ if: github.ref_type == 'branch' && github.ref_name == 'master'
63
+ env:
64
+ TAG: dev
65
+ IMAGE_TAG: dev
66
+ run: |
67
+ echo "building multi-arch images with tag: $TAG"
68
+ make build-push-multi-arch-image
0 commit comments