Update README.md #83
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
name: Build only image | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build only image job | |
steps: | |
- name: Checkout master | |
uses: actions/checkout@master | |
- name: Build image | |
uses: ilteoood/docker_buildx@master | |
with: | |
tag: latest,1.8.1 | |
platform: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6 | |
imageName: ilteoood/docker-surfshark | |
- name: Scan image | |
uses: anchore/scan-action@v2 | |
with: | |
image: "ilteoood/docker-surfshark:latest" | |
fail-build: true | |
acs-report-enable: true | |
severity-cutoff: critical | |
- name: Anchore inline scan JSON results | |
run: for j in `ls ./anchore-reports/*.json`; do echo "---- ${j} ----"; cat ${j}; echo; done | |
- name: Inspect action SARIF report | |
run: cat ${{ steps.scan.outputs.sarif }} |