-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: bump dependencies * chore: update GHA files * chore: update GHA files
- Loading branch information
Showing
3 changed files
with
17 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,19 +16,23 @@ runs: | |
id: vars | ||
shell: bash | ||
run: | | ||
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" | ||
echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- name: Build | ||
uses: docker/build-push-action@v2 | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: ./docker | ||
push: false | ||
tags: ${{ inputs.tags }} | ||
labels: ${{ inputs.labels }} | ||
load: true | ||
|
||
- name: Anchore Scanner | ||
uses: anchore/scan-action@v3 | ||
if: always() | ||
|
@@ -38,13 +42,15 @@ runs: | |
fail-build: true | ||
severity-cutoff: high | ||
acs-report-enable: true | ||
|
||
- name: Inspect action SARIF report | ||
shell: bash | ||
if: always() | ||
run: | | ||
echo "::group::Anchore Scan Details" | ||
jq '.runs[0].results' ${{ steps.grype-scan.outputs.sarif }} | ||
echo "::endgroup::" | ||
- name: Trivy Scanner | ||
if: always() | ||
uses: aquasecurity/trivy-action@master | ||
|
@@ -55,10 +61,11 @@ runs: | |
ignore-unfixed: true | ||
vuln-type: 'os,library' | ||
severity: 'CRITICAL,HIGH' | ||
|
||
- name: Dockle Linter | ||
uses: erzz/[email protected] | ||
if: always() | ||
with: | ||
image: oryd/k8s-toolbox:sha-${{ steps.vars.outputs.sha_short }} | ||
exit-code: 42 | ||
failure-threshold: fatal | ||
failure-threshold: fatal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters