File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -41,18 +41,25 @@ jobs:
41
41
shell : bash
42
42
run : echo "TAG_NAME=$(echo ${GITHUB_REF#refs/tags/})" >> $GITHUB_ENV
43
43
44
- - name : Build and push Docker image tag
44
+ - name : Build and push Docker image latest
45
45
uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
46
46
with :
47
47
push : true
48
- tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG_NAME }}
48
+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
49
+
50
+ - name : Push Docker image Tag
51
+ run : |
52
+ docker tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG_NAME }}
53
+ docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG_NAME }}
49
54
if : github.event_name == 'push'
50
55
51
- - name : Build and push Docker image latest
56
+ - name : Build and push Docker dev image
52
57
uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
53
58
with :
54
59
push : true
55
- tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
60
+ build-args : |
61
+ dev_build=true
62
+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest-dev
56
63
57
64
rancher-upgrade :
58
65
You can’t perform that action at this time.
0 commit comments