diff options
| author | Can Eldem <celdem@gitlab.com> | 2020-06-24 10:06:10 +0000 |
|---|---|---|
| committer | Can Eldem <celdem@gitlab.com> | 2020-06-24 10:06:10 +0000 |
| commit | ab58b999d38094e6c2ec076856bba0e06ee23e92 (patch) | |
| tree | b9b30dc22ade0c3f7803e544f2445a99e75bc6d8 /.gitlab/deploy.yml | |
| parent | c6e39b5d3b73da148076db287c51c914f89791f2 (diff) | |
| parent | 9a70954ce6b6d4ce9c7867595a0b9bcb25484c5d (diff) | |
Merge branch 'export-target-image' into 'master'v3.12.2
Publish latest major version to gitlab-org/security-products/analyers/license-finder
See merge request gitlab-org/security-products/license-management!175
Diffstat (limited to '.gitlab/deploy.yml')
| -rw-r--r-- | .gitlab/deploy.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab/deploy.yml b/.gitlab/deploy.yml index c32149d..beaa1fd 100644 --- a/.gitlab/deploy.yml +++ b/.gitlab/deploy.yml @@ -43,8 +43,10 @@ version: 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} + - export TARGET_IMAGE=$CI_REGISTRY_IMAGE:${IMAGE_TAG:-$CI_JOB_NAME} + - export DESTINATION_IMAGE=registry.gitlab.com/gitlab-org/security-products/analyzers/license-finder:${IMAGE_TAG:-$CI_JOB_NAME} + - docker tag $TARGET_IMAGE $DESTINATION_IMAGE + - docker push $DESTINATION_IMAGE major: extends: .release |
