mirror of
https://github.com/wimpysworld/stream-sprout
synced 2026-03-14 14:45:50 +01:00
syntax
This commit is contained in:
parent
813a5e80ae
commit
fb71c4649a
1 changed files with 16 additions and 12 deletions
28
.github/workflows/scan-container.yaml
vendored
28
.github/workflows/scan-container.yaml
vendored
|
|
@ -6,17 +6,21 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
vulnerability-scan:
|
||||
name: "Build and scan"
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: build local container
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
tags: localbuild/testimage:latest
|
||||
push: false
|
||||
load: true
|
||||
- name: build local container
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
tags: localbuild/testimage:latest
|
||||
push: false
|
||||
load: true
|
||||
|
||||
- name: Scan image
|
||||
uses: anchore/scan-action@v3
|
||||
with:
|
||||
image: "localbuild/testimage:latest"
|
||||
- name: Scan image
|
||||
uses: anchore/scan-action@v3
|
||||
with:
|
||||
image: "localbuild/testimage:latest"
|
||||
Loading…
Add table
Add a link
Reference in a new issue