Skip to content

Commit 9eb65d7

Browse files
authored
Merge pull request #69 from derskythe/dependabot/github_actions/docker/build-push-action-5
Bump docker/build-push-action from 4 to 5
2 parents 1bad5e6 + 0ca90c3 commit 9eb65d7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/build-base.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
type=raw,value=${{ env.FULL_TAG }},enable=true
129129
type=raw,value=${{ env.PREFIX }},enable=true
130130
- name: Build and push
131-
uses: docker/build-push-action@v4
131+
uses: docker/build-push-action@v5
132132
with:
133133
context: .
134134
file: ${{ env.DOCKERFILE }}
@@ -213,7 +213,7 @@ jobs:
213213
# tags: |
214214
# type=raw,value=${{ env.FULL_TAG }},enable=true
215215
# - name: Build and push
216-
# uses: docker/build-push-action@v4
216+
# uses: docker/build-push-action@v5
217217
# with:
218218
# context: .
219219
# file: Dockerfile.base-slim

.github/workflows/build-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
type=raw,value=${{ env.PREFIX }}-latest,enable=${{ env.LATEST_FLAG }}
122122
type=raw,value=${{ env.RELEASE_VERSION }},enable=${{ env.LATEST_FLAG }}
123123
- name: Build and push
124-
uses: docker/build-push-action@v4
124+
uses: docker/build-push-action@v5
125125
with:
126126
context: .
127127
file: ${{ env.DOCKERFILE }}

.github/workflows/snyk-security.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
129129
run: |
130130
snyk auth ${{ secrets.SNYK_TOKEN }}
131-
snyk code test --sarif > snyk-code.sarif || true
131+
snyk code test --fail-on=upgradable --sarif > snyk-code.sarif || true
132132
133133
# # Build the docker image for testing
134134
# - name: Build a Docker image
@@ -142,15 +142,15 @@ jobs:
142142
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
143143
run: |
144144
snyk auth ${{ secrets.SNYK_TOKEN }}
145-
snyk container test --print-deps ${{ secrets.DOCKER_USER }}/${{ env.RELEASE_IMAGE_NAME }} \
145+
snyk container test --print-deps --fail-on=upgradable ${{ secrets.DOCKER_USER }}/${{ env.RELEASE_IMAGE_NAME }} \
146146
--username=${{ secrets.DOCKER_USER }} --password=${{ secrets.DOCKER_TOKEN }} --file=${{ env.DOCKERFILE }} .
147147
148148
- name: Container test
149149
env:
150150
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
151151
run: |
152152
snyk auth ${{ secrets.SNYK_TOKEN }}
153-
snyk container test --print-deps ghcr.io/${{ secrets.DOCKER_USER }}/${{ env.RELEASE_IMAGE_NAME }} \
153+
snyk container test --print-deps ghcr.io/${{ secrets.DOCKER_USER }}/${{ env.RELEASE_IMAGE_NAME }} --fail-on=upgradable \
154154
--username=${{ secrets.DOCKER_USER }} --password=${{ secrets.DOCKER_TOKEN }} --file=${{ env.DOCKERFILE }} .
155155
156156
# Runs Snyk Container (Container and SCA) analysis and uploads result to Snyk.

0 commit comments

Comments
 (0)