diff options
| -rw-r--r-- | .github/workflows/build-deploy.yaml | 2 | ||||
| -rw-r--r-- | .github/workflows/static-preview.yaml | 4 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/build-deploy.yaml b/.github/workflows/build-deploy.yaml index 2c14f35e..1350d65e 100644 --- a/.github/workflows/build-deploy.yaml +++ b/.github/workflows/build-deploy.yaml @@ -38,7 +38,7 @@ jobs:        # Build the container, including an inline cache manifest to        # allow us to use the registry as a cache source.        - name: Build and push -        uses: docker/build-push-action@v4 +        uses: docker/build-push-action@v5          with:            context: .            file: ./Dockerfile diff --git a/.github/workflows/static-preview.yaml b/.github/workflows/static-preview.yaml index 538fbb98..bc2ad8a3 100644 --- a/.github/workflows/static-preview.yaml +++ b/.github/workflows/static-preview.yaml @@ -29,7 +29,7 @@ jobs:        # Build the container, including an inline cache manifest to        # allow us to use the registry as a cache source.        - name: Build Docker Image (Main) -        uses: docker/build-push-action@v4 +        uses: docker/build-push-action@v5          if: github.ref == 'refs/heads/main'          with:            context: . @@ -53,7 +53,7 @@ jobs:        # Build directly to a local folder        - name: Build Docker Image (PR) -        uses: docker/build-push-action@v4 +        uses: docker/build-push-action@v5          if: github.ref != 'refs/heads/main'          with:            context: .  |