[extensions-web] ci: Add job for pushing frontend image to Quay



commit 38132d441d88ded1d74000aa4b8af7948e953d32
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue May 24 10:29:12 2022 +0200

    ci: Add job for pushing frontend image to Quay

 .gitlab-ci.yml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index efae0e6..e8dd438 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -73,7 +73,7 @@ buildah:
   script:
     - buildah bud -t quay.io/gnome_infrastructure/extensions:latest -f openshift/docker/Dockerfile
 
-push-to-quay:
+deploy-ego:
   stage: deploy
   image: quay.io/gnome_infrastructure/buildah:latest
   rules:
@@ -83,3 +83,14 @@ push-to-quay:
     - buildah bud -t quay.io/gnome_infrastructure/extensions:latest -f openshift/docker/Dockerfile
     - buildah login -u ${OCI_REGISTRY_USER} -p ${OCI_REGISTRY_PASSWORD} quay.io
     - buildah push quay.io/gnome_infrastructure/extensions:latest
+
+deploy-frontend:
+  stage: deploy
+  image: quay.io/gnome_infrastructure/buildah:latest
+  rules:
+    - if: ($CI_COMMIT_REF_PROTECTED == "true")
+      when: manual
+  script:
+    - buildah bud -t quay.io/gnome_infrastructure/extensions:frontend -f openshift/docker/nginx/Dockerfile 
openshift/docker/nginx
+    - buildah login -u ${OCI_REGISTRY_USER} -p ${OCI_REGISTRY_PASSWORD} quay.io
+    - buildah push quay.io/gnome_infrastructure/extensions:frontend


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