File tree Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change 51
51
outputs :
52
52
major_tag : ${{ steps.update-major-tag.outputs.major-tag }}
53
53
steps :
54
- - name : Update the ${{ env.TAG_NAME }} tag
55
- id : update-major-tag
56
-
57
- with :
58
- source-tag : ${{ env.TAG_NAME }}
59
- slack-webhook : ${{ secrets.SLACK_WEBHOOK }}
54
+ - name : Update the ${{ env.TAG_NAME }} major tag
55
+ id : update-major-tag
56
+
57
+ with :
58
+ source-tag : ${{ env.TAG_NAME }}
59
+
60
+ # Login to the GHCR Docker registry
61
+ - name : Log into registry ${{ env.REGISTRY }}
62
+ uses : docker/login-action@v2
63
+ with :
64
+ registry : ${{ env.REGISTRY }}
65
+ username : ${{ github.actor }}
66
+ password : ${{ secrets.GITHUB_TOKEN }}
67
+
68
+ - name : Update Docker image tag
69
+ env :
70
+ NEW_TAG : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.update-major-tag.outputs.major-tag }}
71
+ SOURCE_TAG : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG_NAME }}
72
+ run : |
73
+ docker buildx imagetools create --tag $NEW_TAG $SOURCE_TAG
You can’t perform that action at this time.
0 commit comments