Skip to content

Commit

Permalink
fix: Added conditial on release to push to GH packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Vicente Herrera committed Nov 2, 2020
1 parent dbcab0c commit ca69aa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-forwarder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ jobs:
username: ${{ secrets.CR_PAT_PKG_USER }}
password: ${{ secrets.CR_PAT_PKG }}
- name: Build and Push to GitHub Packages
if: github.event_name == 'release'
run: |
docker build ${CONTEXT_PATH} -f ${DOCKERFILE_PATH} \
-t docker.pkg.github.com/${GH_REPO}/${IMAGE_NAME}:${VERSION_FULL}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ jobs:
username: ${{ secrets.CR_PAT_PKG_USER }}
password: ${{ secrets.CR_PAT_PKG }}
- name: Build and Push to GitHub Packages
if: github.event_name == 'release'
run: |
docker build ${CONTEXT_PATH} -f ${DOCKERFILE_PATH} \
-t docker.pkg.github.com/${GH_REPO}/${IMAGE_NAME}:${VERSION_FULL}
Expand Down

0 comments on commit ca69aa0

Please sign in to comment.