Skip to content
Snippets Groups Projects
Commit 270b9df1 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

pipeline: Add push-develop-image-nexus step

parent c9d1e8bf
Branches
Tags
1 merge request!10Draft: Develop
Pipeline #2344 passed with warnings
...@@ -117,6 +117,16 @@ push-snapshot-image-gitlab: ...@@ -117,6 +117,16 @@ push-snapshot-image-gitlab:
only: only:
- main - main
push-develop-image-nexus:
stage: publish
extends: .get-version
script:
- export PRIMARY_IMAGE_TAG=${SNAPSHOT_TAG}
- export IMAGE_TAGS="${NEXUS_IMAGE_PREFIX}:${SNAPSHOT_TAG},${NEXUS_IMAGE_PREFIX}:${SNAPSHOT_TAG}-${CI_COMMIT_SHORT_SHA}"
- mvn deploy -Pnexus-deploy $MAVEN_DEPLOY_CLI_OPTS $MAVEN_CLI_OPTS
only:
- develop
push-snapshot-image-nexus: push-snapshot-image-nexus:
stage: publish stage: publish
extends: .get-version extends: .get-version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment