Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
Signed-off-by: r3drun3 <[email protected]>
  • Loading branch information
R3DRUN3 committed Jan 10, 2024
1 parent 1118a02 commit a8abbfa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,18 @@ jobs:
vuln_count=$(jq '.Results | length' "$report_file")
echo "vuln_count=$vuln_count" >> $GITHUB_OUTPUT
- name: Set Tag
id: set_tag
run: echo "::set-env name=PATCHED_TAG::$(echo "${{ matrix.images }}" | cut -d':' -f2 | cut -d'/' -f2 | sed 's/[^0-9.]*//g')-immunized"

- name: Copa Action
if: steps.vuln_count.outputs.vuln_count != '0'
id: copa
uses: project-copacetic/[email protected]
with:
image: ${{ matrix.images }}
image-report: 'report.json'
patched-tag: ${{ join([split(':', matrix.images[0])[1], 'immunized'], '-') }}
patched-tag: ${{ env.PATCHED_TAG }}
buildkit-version: 'v0.11.6'
# optional, default is latest
copa-version: '0.3.0'
Expand Down

0 comments on commit a8abbfa

Please sign in to comment.