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