From 01f16ff52bb3df4d355aba71b1531e98393dfd69 Mon Sep 17 00:00:00 2001 From: WGOS Date: Wed, 27 Dec 2023 16:25:40 +0400 Subject: [PATCH] Add ghcr to tag --- .github/workflows/build-and-push-images.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-push-images.yml b/.github/workflows/build-and-push-images.yml index 5aa9541..f9b0211 100644 --- a/.github/workflows/build-and-push-images.yml +++ b/.github/workflows/build-and-push-images.yml @@ -32,7 +32,7 @@ jobs: uses: docker/login-action@v1 with: registry: ghcr.io - username: ${{ github.repository_owner }} + username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push Docker image @@ -40,7 +40,7 @@ jobs: with: context: . push: true - tags: ${{ github.repository }}:${{ matrix.postgres }} + tags: ghcr.io/${{ github.repository }}:${{ matrix.postgres }} build-args: | ALPINE_VERSION=${{ matrix.alpine }} platforms: |