[gjs/test-ci: 2/2] FIXME: dont clobber the existing images [skip ci]



commit fd76ca04a2ddeb395ff0df4c6e42f6e2385bdb02
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Apr 26 10:15:45 2020 -0700

    FIXME: dont clobber the existing images [skip ci]

 .gitlab-ci.yml | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c42bacf9..b4263bfc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -301,11 +301,13 @@ zeal_11:
     - podman image list
 
     # Publish (if running on a schedule)
-    - |
-      if [[ "$CI_PIPELINE_SOURCE" == "schedule" ]]; then
-        podman push "$CI_REGISTRY_IMAGE:$NAME" "$CI_REGISTRY"
-        podman push "$CI_REGISTRY_IMAGE:job-${CI_JOB_ID}_$NAME" "$CI_REGISTRY"
-      fi
+    # - |
+    #   if [[ "$CI_PIPELINE_SOURCE" == "schedule" ]]; then
+    #     podman push "$CI_REGISTRY_IMAGE:$NAME" "$CI_REGISTRY"
+    #     podman push "$CI_REGISTRY_IMAGE:job-${CI_JOB_ID}_$NAME" "$CI_REGISTRY"
+    #   fi
+    - podman push --creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD "$CI_REGISTRY_IMAGE:$NAME"
+    - podman push --creds $CI_REGISTRY_USER:$CI_REGISTRY_PASSWORD "$CI_REGISTRY_IMAGE:job-${CI_JOB_ID}_$NAME"
 
   except:
     variables:
@@ -316,7 +318,7 @@ alpine.cpplint:
   variables:
     STORAGE_DRIVER: 'vfs'
     DOCKERFILE: Dockerfile.alpine.cpplint
-    NAME: alpine.cpplint
+    NAME: alpine.cpplintfdghdfhgdf
   except:
     variables:
       - $CI_COMMIT_MESSAGE =~ /\[skip images\]/ && $CI_COMMIT_MESSAGE =~ /alpine.cpplint/
@@ -326,7 +328,7 @@ fedora.mozjs68:
   variables:
     STORAGE_DRIVER: 'vfs'
     DOCKERFILE: Dockerfile
-    NAME: "fedora.mozjs68"
+    NAME: "fedora.mozjs68ghdrtrthfghfd"
   except:
     variables:
       - $CI_COMMIT_MESSAGE =~ /\[skip images\]/ && $CI_COMMIT_MESSAGE =~ /fedora.mozjs68/
@@ -336,7 +338,7 @@ fedora.mozjs68-debug:
   variables:
     STORAGE_DRIVER: 'vfs'
     DOCKERFILE: Dockerfile
-    NAME: "fedora.mozjs68-debug"
+    NAME: "fedora.mozjs68-debugdfghfgfjgrt"
     ARGS: "--build-arg BUILD_OPTS=--enable-debug"
   except:
     variables:


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