[openqa] Add pipeline for building OCI image



commit fcab00a4bfda2978dbed6016f176769c4585528a
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..c7c7d10
--- /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 $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]