Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hdacloud
dex
Commits
c9da08e6
Unverified
Commit
c9da08e6
authored
4 months ago
by
Mark Sagi-Kazar
Browse files
Options
Downloads
Patches
Plain Diff
ci: fix artifact build by disabling trivy cache update skip
Signed-off-by:
Mark Sagi-Kazar
<
mark.sagikazar@gmail.com
>
parent
3f7135b9
Branches
Branches containing commit
Tags
Tags containing commit
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/artifacts.yaml
+7
-8
7 additions, 8 deletions
.github/workflows/artifacts.yaml
with
7 additions
and
8 deletions
.github/workflows/artifacts.yaml
+
7
−
8
View file @
c9da08e6
...
...
@@ -44,7 +44,6 @@ jobs:
id-token
:
write
security-events
:
write
outputs
:
name
:
${{ steps.image-name.outputs.value }}
digest
:
${{ steps.build.outputs.digest }}
...
...
@@ -203,8 +202,7 @@ jobs:
with
:
path
:
cache/db
key
:
trivy-cache-${{ steps.date.outputs.date }}
restore-keys
:
trivy-cache-
restore-keys
:
trivy-cache-
-
name
:
Run Trivy vulnerability scanner
uses
:
aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0
# 0.29.0
...
...
@@ -212,12 +210,13 @@ jobs:
input
:
image
format
:
sarif
output
:
trivy-results.sarif
scan-type
:
'
fs
'
scan-ref
:
'
.'
scan-type
:
"
fs
"
scan-ref
:
"
."
cache-dir
:
"
./cache"
env
:
TRIVY_SKIP_DB_UPDATE
:
true
TRIVY_SKIP_JAVA_DB_UPDATE
:
true
# Disable skipping trivy cache for now
# env:
# TRIVY_SKIP_DB_UPDATE: true
# TRIVY_SKIP_JAVA_DB_UPDATE: true
## Trivy-db uses `0600` permissions.
## But `action/cache` use `runner` user by default
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment