Skip to content

Commit

Permalink
fix: authenticate container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
olavis committed Feb 23, 2023
1 parent 5041606 commit f349991
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
- name: Build Container Image
run: IMAGE_TAG=${{inputs.IMAGE_TAG}} docker compose build

- name: Authenticate Against Container Registry
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin

- name: Publish Container Image
run: IMAGE_TAG=${{inputs.IMAGE_TAG}} docker compose push

0 comments on commit f349991

Please sign in to comment.