File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 1- # This workflow builds and pushes a Docker image to GitHub Container Registry (ghcr.io)
2- # whenever a new release is published.
3-
41name : Publish Docker image to GHCR
52
63on :
@@ -30,13 +27,13 @@ jobs:
3027 username : ${{ github.actor }}
3128 password : ${{ secrets.GITHUB_TOKEN }}
3229
33- - name : Extract release tag
34- id : extract_tag
35- run : echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
30+ # - name: Extract release tag
31+ # id: extract_tag
32+ # run: echo "RELEASE_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
3633
3734 - name : Build and push Docker image
3835 uses : docker/build-push-action@v5
3936 with :
4037 context : .
4138 push : true
42- tags : ghcr.io/${{ github.repository }}:${{ env.RELEASE_TAG }}
39+ tags : ghcr.io/${{ github.repository }}:v0.1.0
You can’t perform that action at this time.
0 commit comments