Skip to content

Commit

Permalink
publish image to ghcr
Browse files Browse the repository at this point in the history
  • Loading branch information
cmintey committed Nov 27, 2023
1 parent 06dc97d commit f401fd3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,18 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

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

- name: Docker Tags
id: tags
uses: docker/metadata-action@v4
with:
images: cmintey/wishlist
images: cmintey/wishlist, ghcr.io/cmintey/wishlist
tags: |
type=ref,event=tag
Expand Down

0 comments on commit f401fd3

Please sign in to comment.