Skip to content

Update build_publish.yml #76

Update build_publish.yml

Update build_publish.yml #76

Workflow file for this run

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.7.2
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 }}