summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Lafoucrière <plafoucriere@gitlab.com>2020-05-21 23:26:27 +0000
committermo khan <mo.khan@gmail.com>2020-05-21 23:26:27 +0000
commit6edbe7d6e6baf9bad6f6f820fbad7cea656b41de (patch)
treea074c1d1fa52ddbd3fb0a7fca98e73f9d9d66555
parent537fbadd38b8f67b4a8f1ea0089a9e5ad2aa82eb (diff)
Also push to new analyzer location
-rw-r--r--.gitlab/release.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab/release.yml b/.gitlab/release.yml
index 44cc42e..c1ce426 100644
--- a/.gitlab/release.yml
+++ b/.gitlab/release.yml
@@ -4,6 +4,11 @@
when: manual
only:
- tags
+ after_script:
+ # Also push to registry.gitlab.com/gitlab-org/security-products/analyzers/license-finder
+ - docker login -u gitlab-ci-token -p $GITLAB_TOKEN $CI_REGISTRY
+ - docker tag $TARGET_IMAGE registry.gitlab.com/gitlab-org/security-products/analyzers/license-finder:${IMAGE_TAG:-$CI_JOB_NAME}
+ - docker push registry.gitlab.com/gitlab-org/security-products/analyzers/license-finder:${IMAGE_TAG:-$CI_JOB_NAME}
major:
extends: .release