[gjs/locale-agnostic-camel-properties] Revert "TMP: force build images"



commit 1b28d0e92c44ef2309b97c22d270e28633be2534
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Thu Apr 28 21:47:41 2022 +0200

    Revert "TMP: force build images"
    
    This reverts commit 9f9e497fd4fbefe3de3775ab216696efee75b6fd.

 .gitlab-ci.yml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a696331a..0d3b27a85 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -381,7 +381,10 @@ zeal_11:
 #############################################
 .Docker image template: &create_docker_image
   image: registry.freedesktop.org/freedesktop/ci-templates/x86_64/buildah:2020-10-30.1
-  stage: prepare
+  stage: deploy
+  only:
+    variables:
+      - $CRON_TASK == "BUILD_CI_IMAGES"
 
   script:
     # Newer versions of podman/buildah try to set overlayfs mount options when
@@ -398,8 +401,10 @@ zeal_11:
 
     # Publish (if running on a schedule)
     - |
-      buildah push "$CI_REGISTRY_IMAGE:$CI_JOB_NAME"
-      buildah push "$CI_REGISTRY_IMAGE:job-${CI_JOB_ID}_$CI_JOB_NAME"
+      if [[ "$CI_PIPELINE_SOURCE" == "schedule" ]]; then
+        buildah push "$CI_REGISTRY_IMAGE:$CI_JOB_NAME"
+        buildah push "$CI_REGISTRY_IMAGE:job-${CI_JOB_ID}_$CI_JOB_NAME"
+      fi
 
 .Docker variables: &docker_variables
   STORAGE_DRIVER: vfs


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