From f401fd3e41c800def6f295ca9b1e18e02c42cf91 Mon Sep 17 00:00:00 2001 From: Carter Mintey Date: Sun, 26 Nov 2023 20:34:30 -0600 Subject: [PATCH] publish image to ghcr --- .github/workflows/build_push.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index fb6adc8..ce445f5 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -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