[bbb-greenlight] Push the image to the registry



commit 203e1daad6343dac7c10bb9ed5fa82aabafa936d
Author: Bartłomiej Piotrowski <b bpiotrowski pl>
Date:   Mon Aug 3 13:16:56 2020 +0200

    Push the image to the registry

 .gitlab-ci.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a7771e9..dc0f4bd 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,5 @@
 docker:
-  image: 'registry.fedoraproject.org/fedora:30'
+  image: 'registry.fedoraproject.org/fedora:32'
   stage: test
   variables:
     STORAGE_DRIVER: 'vfs'
@@ -14,4 +14,7 @@ docker:
       events_logger = "file"
       END
 
+    - buildah login -u USER -p TOKEN registry.gitlab.gnome.org
     - buildah bud -t greenlight .
+    - buildah tag greenlight registry.gitlab.gnome.org/infrastructure/bbb-greenlight:$COMMIT 
registry.gitlab.gnome.org/infrastructure/bbb-greenlight:latest
+    - buildah push registry.gitlab.gnome.org/infrastructure/bbb-greenlight:$COMMIT 
registry.gitlab.gnome.org/infrastructure/bbb-greenlight:latest


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