[openqa] Add pipeline for building OCI image




commit c9a3e45ceacce25e6f080de211c6e683d564d9a2
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Sep 23 12:44:42 2021 +0200

    Add pipeline for building OCI image

 .gitlab-ci.yml | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..416bcf7
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,8 @@
+buildah:
+  image: 'registry.gitlab.gnome.org/infrastructure/oci-images/buildah:latest'
+  stage: test
+  script:
+    - buildah login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
+    - buildah bud -t openqa_webui .
+    - buildah tag openqa_webui $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA $CI_REGISTRY_IMAGE:latest
+    - buildah push $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA $CI_REGISTRY_IMAGE:latest


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