Skip to content
Snippets Groups Projects
Commit 2646b817 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

.gitlab-ci.yml: also export to "unstable-mr-${CI_MERGE_REQUEST_IID}" on dockerhub

parent 73229f85
No related branches found
No related tags found
1 merge request!271.gitlab-ci.yml: also export to "unstable-mr-${CI_MERGE_REQUEST_IID}" on dockerhub
...@@ -113,8 +113,8 @@ version: ...@@ -113,8 +113,8 @@ version:
if [ "x${CI_PIPELINE_SOURCE}" = "xmerge_request_event" ]; then if [ "x${CI_PIPELINE_SOURCE}" = "xmerge_request_event" ]; then
INTERNAL_TAG="unstable-mr-${CI_MERGE_REQUEST_ID}" INTERNAL_TAG="unstable-mr-${CI_MERGE_REQUEST_ID}"
NIGHTLY_TAG="${INTERNAL_TAG}-nightly" NIGHTLY_TAG="${INTERNAL_TAG}-nightly"
EXPORT_TAG=${VERSION_SHORT}-unstable EXPORT_TAG="${VERSION_SHORT}-unstable"
EXPORT_TAG2= EXPORT_TAG2="unstable-mr-${CI_MERGE_REQUEST_PROJECT_ID}-${CI_MERGE_REQUEST_IID}"
elif [[ "$CI_COMMIT_TAG" =~ ^v${VERSION} ]]; then elif [[ "$CI_COMMIT_TAG" =~ ^v${VERSION} ]]; then
VERSION_FULL="${CI_COMMIT_TAG:1}" VERSION_FULL="${CI_COMMIT_TAG:1}"
INTERNAL_TAG="stable-tag-${VERSION_FULL}" INTERNAL_TAG="stable-tag-${VERSION_FULL}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment