[extensions-web/barthalion/ocp4] wip
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web/barthalion/ocp4] wip
- Date: Mon, 23 May 2022 13:56:02 +0000 (UTC)
commit 0d273f9a408fbf4c0b3f56571af59e7355937e97
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Mon May 23 15:55:57 2022 +0200
wip
.gitlab-ci.yml | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d766424..661c643 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -68,8 +68,18 @@ security (safety):
allow_failure: true
buildah:
+ stage: test
+ image: quay.io/gnome_infrastructure/buildah:latest
+ script:
+ - buildah bud -t quay.io/gnome_infrastructure/extensions:latest -f openshift/docker/Dockerfile
+
+push-to-quay:
stage: deploy
image: quay.io/gnome_infrastructure/buildah:latest
- # when: manual
+ rules:
+ - if: ($CI_COMMIT_REF_PROTECTED" == "true")
+ when: manual
script:
- 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]