File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,7 @@ jobs:
162162 username : ${{ secrets.CR_PAT_PKG_USER }}
163163 password : ${{ secrets.CR_PAT_PKG }}
164164 - name : Build and Push to GitHub Packages
165+ if : github.event_name == 'release'
165166 run : |
166167 docker build ${CONTEXT_PATH} -f ${DOCKERFILE_PATH} \
167168 -t docker.pkg.github.com/${GH_REPO}/${IMAGE_NAME}:${VERSION_FULL}
Original file line number Diff line number Diff line change @@ -169,6 +169,7 @@ jobs:
169169 username : ${{ secrets.CR_PAT_PKG_USER }}
170170 password : ${{ secrets.CR_PAT_PKG }}
171171 - name : Build and Push to GitHub Packages
172+ if : github.event_name == 'release'
172173 run : |
173174 docker build ${CONTEXT_PATH} -f ${DOCKERFILE_PATH} \
174175 -t docker.pkg.github.com/${GH_REPO}/${IMAGE_NAME}:${VERSION_FULL}
You can’t perform that action at this time.
0 commit comments