diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 4ffd2fd..43ce00c 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -10,7 +10,7 @@ on: jobs: docker_build_push_acr: - name: 'Docker Build and Push to ACR' + name: 'Docker Build and Push to GHCR' runs-on: ubuntu-latest environment: production @@ -37,10 +37,10 @@ jobs: ${{ secrets.REGISTRY_LOGIN_SERVER }}/${{ env.lowercase_repo }} tags: | type=semver,pattern={{version}} - - name: 'Docker Login' - uses: azure/docker-login@v1 + - name: Login to GitHub Container Registry + uses: docker/login-action@v1 with: - login-server: ghcr.io + registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.PAT_PACKAGE_TOKEN }} - name: Build the frontend image and push it to ACR