Skip to content
Snippets Groups Projects
Verified Commit e112882e authored by Johannes Tegnér's avatar Johannes Tegnér :juggling:
Browse files

Batched together post build jobs into one stage.

parent 3b640132
No related branches found
No related tags found
No related merge requests found
Pipeline #460271725 passed
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment