Skip to content

Commit

Permalink
feat: Add GHCR support
Browse files Browse the repository at this point in the history
  • Loading branch information
hreeder authored Nov 17, 2020
1 parent 2b675b2 commit 701b883
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ jobs:
docker tag image $DH_IMAGE_ID:latest
docker push $DH_IMAGE_ID
- name: Publish Image (GHCR)
run: |
GHCR_IMAGE_ID=ghcr.io/hreeder/discord-post-updater
echo "${{ secrets.GHCR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
docker tag image $GHCR_IMAGE_ID:latest
docker push $GHCR_IMAGE_ID
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inputs:
required: false
runs:
using: docker
image: hreeder/discord-post-updater
image: docker://ghcr.io/hreeder/discord-post-updater
branding:
icon: edit
color: purple

0 comments on commit 701b883

Please sign in to comment.