File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 5656 run : docker run --rm tag_for_testing uvx pycowsay 'hello ubuntu-devcontainer!'
5757
5858 - name : Log in to GitHub Docker Registry
59- # if: github.event_name != 'pull_request '
59+ if : github.ref_type == 'tag '
6060 uses : docker/login-action@v3
6161 with :
6262 registry : ghcr.io
6565
6666 - name : Build and push by digest
6767 id : build
68- # if: github.ref_type == 'tag'
68+ if : github.ref_type == 'tag'
6969 uses : docker/build-push-action@v6
7070 with :
7171 labels : ${{ steps.meta.outputs.labels }}
8989 runs-on : ubuntu-latest
9090 needs :
9191 - build
92- # if: github.ref_type == 'tag'
92+ if : github.ref_type == 'tag'
9393
9494 steps :
9595 - name : Lowercase the image name
@@ -111,11 +111,9 @@ jobs:
111111 with :
112112 images : ${{ env.GHCR_IMAGE }}
113113 tags : |
114- type=ref,event=pr
115-
116- # type=ref,event=tag
117- # type=raw,value=latest
118- # type=raw,value=noble
114+ type=ref,event=tag
115+ type=raw,value=latest
116+ type=raw,value=noble
119117
120118 - name : Log in to GitHub Docker Registry
121119 uses : docker/login-action@v3
You can’t perform that action at this time.
0 commit comments