diff --git a/.github/workflows/release-image.yml b/.github/workflows/release-image.yml index f64a4b2..8bdbf62 100644 --- a/.github/workflows/release-image.yml +++ b/.github/workflows/release-image.yml @@ -95,14 +95,14 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Login to Docker Hub - if: steps.check-dir.outputs.skipdir != 'true' && github.ref == 'refs/heads/master' + if: steps.check-dir.outputs.skipdir != 'true' && github.ref == 'refs/heads/main' uses: docker/login-action@v2 with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - name: Login to GAR - if: steps.check-dir.outputs.skipdir != 'true' && github.ref == 'refs/heads/master' + if: steps.check-dir.outputs.skipdir != 'true' && github.ref == 'refs/heads/main' uses: docker/login-action@v2 with: registry: europe-west1-docker.pkg.dev @@ -120,7 +120,7 @@ jobs: tags: | type=raw,value=${{ matrix.version }}${{ matrix.variant }} flavor: | - latest=${{ toJSON(matrix.version == '31' && matrix.variant == '' && github.ref == 'refs/heads/master') }} + latest=${{ toJSON(matrix.version == '31' && matrix.variant == '' && github.ref == 'refs/heads/main') }} - name: Cache Mode id: cache-mode @@ -139,7 +139,7 @@ jobs: uses: docker/build-push-action@v4 with: context: ${{ matrix.version }}${{ matrix.variant }} - push: ${{ github.ref == 'refs/heads/master' }} + push: ${{ github.ref == 'refs/heads/main' }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha