From dee3e90b91c42f76297e55bb9159f5ec385a3083 Mon Sep 17 00:00:00 2001 From: mamutmk5 <3045922+mamutmk5@users.noreply.github.com> Date: Fri, 8 Sep 2023 14:27:57 +0200 Subject: [PATCH] BC-5100 - pin docker/build-push-action to version 4.1.1 (#3) * BC-5100 - pin docker/build-push-action to version 4.1.1 for push workflow * BC-5100 - pin docker/build-push-action to version 4.1.1 for tag workflow --- .github/workflows/push.yml | 4 ++-- .github/workflows/tag.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 9c678ff..cb1ffdc 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -44,7 +44,7 @@ jobs: - name: Build and push ${{ github.repository }} if: ${{ env.IMAGE_EXISTS == 0 }} - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v4.1.1 with: context: . file: ./Dockerfile @@ -105,4 +105,4 @@ jobs: if: ${{ always() }} uses: github/codeql-action/upload-sarif@v2 with: - sarif_file: 'trivy-results.sarif' \ No newline at end of file + sarif_file: 'trivy-results.sarif' diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 4a897d6..96606f3 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -38,7 +38,7 @@ jobs: password: ${{ secrets.QUAY_TOKEN }} - name: Build and push ${{ github.repository }} - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v4.1.1 with: context: . file: ./Dockerfile