Skip to content

Commit

Permalink
Merge pull request #175 from grocy/issue-171/container-scanning-workf…
Browse files Browse the repository at this point in the history
…low-tweaks

Container publication+scanning workflow tweaks
  • Loading branch information
jayaddison authored Jul 18, 2022
2 parents bc8d948 + 9bcdc48 commit 5f8c104
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
build_and_push_latest:
runs-on: ubuntu-latest
permissions:
security-events: write # permit upload of sarif output from the workflow
env:
GROCY_IMAGE_TAG: ${{ github.event.release.tag_name }}
steps:
Expand Down Expand Up @@ -59,6 +61,10 @@ jobs:
- uses: anchore/scan-action@v3
with:
image: docker.io/grocy/${{ steps.build-grocy-backend.outputs.image-with-tag }}
acs-report-enable: true
fail-build: false # TODO: remove this when scan-action steps are moved to before container publish
- uses: anchore/scan-action@v3
with:
image: docker.io/grocy/${{ steps.build-grocy-frontend.outputs.image-with-tag }}
acs-report-enable: true
fail-build: false # TODO: remove this when scan-action steps are moved to before container publish

0 comments on commit 5f8c104

Please sign in to comment.