Skip to content

Commit

Permalink
Update dockerimage.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottBrenner authored May 17, 2021
1 parent fec5c76 commit 2276f9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ jobs:
needs: test

runs-on: ubuntu-latest
permissions:
packages: write
contents: read
if: github.event_name == 'push'

steps:
Expand All @@ -66,7 +69,7 @@ jobs:
run: docker build . --file Dockerfile --tag $IMAGE_NAME

- name: Log into GitHub Container Registry
run: echo "${{ secrets.CHANGELOG_CR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin

- name: Push image to GitHub Container Registry
run: |
Expand Down

0 comments on commit 2276f9e

Please sign in to comment.