Skip to content

Commit

Permalink
new to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
mattholy committed Feb 5, 2024
1 parent bbc4401 commit c7b9e6c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Get the Ref
id: tag-gen
uses: ankitvgupta/ref-to-tag-action@master
Expand All @@ -41,4 +48,6 @@ jobs:
tags: |
mattholy/wand:${{ steps.tag-gen.outputs.tag }}
mattholy/wand:latest
ghcr.io/mattholy/wand:${{ steps.tag-gen.outputs.tag }}
ghcr.io/mattholy/wand:latest
build-args: VERSION=${{ steps.tag-gen.outputs.tag }}

0 comments on commit c7b9e6c

Please sign in to comment.