Skip to content

Commit

Permalink
BC-5100 - pin docker/build-push-action to version 4.1.1 (#4396)
Browse files Browse the repository at this point in the history
* BC-5100 - pin docker/build-push-action  to version 4.1 for build-and-push workflow

* BC-5100 - pin docker/build-and-push action to 4.1.1 for push workflow

* BC-5100 - pin docker/build-push-action to version 4.1.1 for tags
  • Loading branch information
mamutmk5 authored Sep 8, 2023
1 parent 1a00500 commit 215a46a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:

- name: Build and push ${{ github.repository }}
if: ${{ env.IMAGE_EXISTS == 0 }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v4.1.1
with:
context: .
file: ./Dockerfile
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:

- name: Build and push ${{ github.repository }} (file storage)
if: ${{ env.IMAGE_EXISTS == 0 }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v4.1.1
with:
build-args: |
BASE_IMAGE=ghcr.io/${{ github.repository }}:${{ needs.branch_meta.outputs.sha }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,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
Expand All @@ -59,7 +59,7 @@ jobs:
labels: |
org.opencontainers.image.title=schulcloud-file-storage
- name: Build and push ${{ github.repository }} (file-storage)
uses: docker/build-push-action@v4
uses: docker/build-push-action@v4.1.1
with:
build-args: |
BASE_IMAGE=quay.io/schulcloudverbund/schulcloud-server:${{ github.ref_name }}
Expand Down

0 comments on commit 215a46a

Please sign in to comment.