File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 2020 push :
2121 tags :
2222 - ' *'
23+ branches :
24+ - master
2325
2426jobs :
2527 docker :
@@ -47,10 +49,20 @@ jobs:
4749 username : ${{ secrets.DOCKERHUB_USER }}
4850 password : ${{ secrets.DOCKERHUB_TOKEN }}
4951 -
50- name : Build and push multi-arch image
52+ name : Build and push multi-arch image (Tag)
53+ if : github.ref_type == 'tag'
5154 env :
5255 TAG : ${{ github.ref_name }}
5356 IMAGE_TAG : ${{ github.ref_name }}
5457 run : |
5558 echo "building multi-arch images with tag: $TAG"
5659 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
You can’t perform that action at this time.
0 commit comments