From c894e41597bf0b6ba8e83d29fbb2b291f028dc0b Mon Sep 17 00:00:00 2001 From: Zelak312 Date: Wed, 6 Dec 2023 17:53:23 -0800 Subject: [PATCH] chore(docker workflow): revised repo name latest tag --- .github/workflows/docker.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3f017f5..638a314 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -14,9 +14,12 @@ jobs: build-and-push: runs-on: ubuntu-latest steps: - - name: Checkout code + - name: Checkout uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -24,7 +27,7 @@ jobs: uses: docker/login-action@v3 with: registry: ghcr.io - username: ${{ github.actor }} + username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Determine Tag Name @@ -57,6 +60,6 @@ jobs: file: ./Dockerfile push: true tags: | - ghcr.io/${{ env.lowercase_repo }}:${{ env.tag }} - ${{ env.is_latest == 'true' && 'ghcr.io/${{ env.lowercase_repo }}:latest' }} + user/app:${{ env.tag }} + ${{ env.is_latest == 'true' && 'user/app:latest' }} platforms: linux/amd64,linux/arm64