[gnome-runtime-images/alatiera/fb] foo



commit f518cbebea56d3224ed5f1181b9ec48d3577cf10
Author: Jordan Petridis <jordan centricular com>
Date:   Thu Jul 7 22:45:39 2022 +0300

    foo

 .gitlab-ci.yml | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1d208ad..2b02f40 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,15 +27,11 @@ default:
         - buildah bud -f ${DOCKERFILE} -t ${DOCKERIMAGE} .
         # push only on master branch
         - |
-          if [ $CI_COMMIT_REF_NAME == master ]; then
-              buildah push ${DOCKERIMAGE}
+          buildah push ${DOCKERIMAGE}
 
-              # Tag `x86_64` also without the ARCH to not break the old path
-              if [ $ARCH == "x86_64" ]; then
-                  buildah tag $DOCKERIMAGE $DOCKERIMAGE_OLD
-                  buildah push $DOCKERIMAGE_OLD
-              fi
-          fi
+          # Tag `x86_64` also without the ARCH to not break the old path
+          buildah tag $DOCKERIMAGE $DOCKERIMAGE_OLD
+          buildah push $DOCKERIMAGE_OLD
     after_script:
         # don't try to use systemd/journald
         - |


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