Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
C
cosign
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
Service Desk
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
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
Jitesoft
Dockerfiles
cosign
Commits
e112882e
Verified
Commit
e112882e
authored
3 years ago
by
Johannes Tegnér
Browse files
Options
Downloads
Patches
Plain Diff
Batched together post build jobs into one stage.
Signed-off-by:
Johannes Tegnér
<
johannes@jitesoft.com
>
parent
3b640132
No related branches found
No related tags found
No related merge requests found
Pipeline
#460271725
passed
3 years ago
Stage: check
Stage: build
Stage: containerize
Stage: post
Changes
1
Pipelines
14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-6
4 additions, 6 deletions
.gitlab-ci.yml
with
4 additions
and
6 deletions
.gitlab-ci.yml
+
4
−
6
View file @
e112882e
...
...
@@ -8,9 +8,7 @@ stages:
-
check
-
build
-
containerize
-
sign
-
scan
-
cache
-
post
check
:
stage
:
check
...
...
@@ -106,7 +104,7 @@ containerize:
sign
:
extends
:
.sign
tags
:
[
jitesoft
,
protected
,
buildx
]
stage
:
sign
stage
:
post
variables
:
COSIGN_ANNOTATIONS
:
"
-a
sig=jitesoft-bot"
SIGN_TAGS
:
"
${VERSION},latest"
...
...
@@ -117,7 +115,7 @@ sign:
-
when
:
never
scan
:
stage
:
scan
stage
:
post
extends
:
.container_scanning
rules
:
-
if
:
"
$SCAN"
...
...
@@ -130,7 +128,7 @@ scan:
SCANNING_IMAGE_NAME
:
"
${CI_REGISTRY_IMAGE}:${VERSION}"
create-cache
:
stage
:
cache
stage
:
post
script
:
-
echo "${VERSION}" > version.txt
cache
:
...
...
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