Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Maven
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartDataLab
public
CI-CD components
Maven
Commits
4c991ef2
Commit
4c991ef2
authored
1 year ago
by
Timothy Stone
Committed by
Pierre Smeyers
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
fix: initialize docker auth config in mvn-sbom job for private registries
parent
b166dd79
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/gitlab-ci-maven-jib.yml
+2
-0
2 additions, 0 deletions
templates/gitlab-ci-maven-jib.yml
with
2 additions
and
0 deletions
templates/gitlab-ci-maven-jib.yml
+
2
−
0
View file @
4c991ef2
...
...
@@ -77,6 +77,8 @@ mvn-sbom:
# force no dependency
dependencies
:
[]
script
:
# initialize Docker auth config
-
*mvn-jib-scripts
-
mkdir -p -m 777 reports
-
/syft packages $MAVEN_JIB_SNAPSHOT_IMAGE $MAVEN_SBOM_OPTS -o cyclonedx-json=reports/mvn-sbom-${jib_digest}.cyclonedx.json
-
chmod a+r reports/mvn-sbom-${jib_digest}.cyclonedx.json
...
...
This diff is collapsed.
Click to expand it.
Benguria Elguezabal, Gorka
@gorka.benguria
mentioned in commit
837d77df
·
9 months ago
mentioned in commit
837d77df
mentioned in commit 837d77dfbcb2f3b96fe3c8f916ad812b4c180626
Toggle commit list
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