diff --git a/.github/workflows/build_image.yml b/.github/workflows/build_image.yml index 0eafaf7..0b5d9de 100644 --- a/.github/workflows/build_image.yml +++ b/.github/workflows/build_image.yml @@ -5,7 +5,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} + cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: publish-server-image: @@ -39,7 +39,7 @@ jobs: - name: Build and push Docker image 🏗️ uses: https://github.com/docker/build-push-action@v4 with: - push: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/releases') }} + push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/releases') }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=gha