You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From v0.25.0 to v0.26.0 the action that runs Trivy was changed from using: 'docker' to using: 'composite' and that broke our workflows in cases when steps.continue-on-error statement is executed with an input in the expression.
- name: Run Trivycontinue-on-error: ${{ inputs.continue-on-error }} # <-- Workflow fails is this line is executed because "inputs" is nulluses: aquasecurity/[email protected]
The text was updated successfully, but these errors were encountered:
BertelBB
changed the title
Changing trivy from "docker" to "composite" action broke continue-on-error
continue-on-error not working as expected after changing from "docker" to "composite" action
Oct 16, 2024
From v0.25.0 to v0.26.0 the action that runs Trivy was changed from
using: 'docker'
tousing: 'composite'
and that broke our workflows in cases whensteps.continue-on-error
statement is executed with an input in the expression.See change here: https://github.com/aquasecurity/trivy-action/compare/0.25.0..0.26.0#diff-fab4d7fb461bc6fbe9587f6c03fff98102b1c744145edcf2a993f2ff7cb05a0dL102
See issue explaining how
inputs
are not available insteps.continue-on-error
when running as composite action: actions/runner#2418Workaround
for those interested, there is a workaround using
env
context andfromJSON
functionThe text was updated successfully, but these errors were encountered: