[gbm-web] Use $CI_REGISTRY_NAME for tagging and pushing images



commit a7784cce51a73ea9f92586c37b32ee428f27a586
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Sep 17 17:30:28 2020 +0200

    Use $CI_REGISTRY_NAME for tagging and pushing images

 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c26dc9e..8bb833d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,5 +4,5 @@ docker:
   script:
     - buildah login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
     - buildah bud -t flat-manager .
-    - buildah tag flat-manager 
registry.gitlab.gnome.org/infrastructure/gbm-web/flat-manager:$CI_COMMIT_SHORT_SHA 
registry.gitlab.gnome.org/infrastructure/gbm-web/flat-manager:latest
-    - buildah push registry.gitlab.gnome.org/infrastructure/gbm-web/flat-manager:$CI_COMMIT_SHORT_SHA 
registry.gitlab.gnome.org/infrastructure/gbm-web/flat-manager:latest
+    - buildah tag flat-manager $CI_REGISTRY_IMAGE/flat-manager:$CI_COMMIT_SHORT_SHA 
$CI_REGISTRY_IMAGE/flat-manager:latest
+    - buildah push $CI_REGISTRY_IMAGE/flat-manager:$CI_COMMIT_SHORT_SHA 
$CI_REGISTRY_IMAGE/flat-manager:latest


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]