]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - .gitlab-ci.yml
Touch an empty .env
[rbdr/r.bdr.sh] / .gitlab-ci.yml
index 9f2d01067409e25cbb492706a066df6315f3cb93..e9a4934d54e4127294589c4c3505dba9f4e308d8 100644 (file)
@@ -1,15 +1,29 @@
+image: docker/compose:alpine-1.29.2
+
+before_script:
+  - apk add build-base
+  - touch .env
+
 stages:
   - upload
 
 upload:
   stage: upload
 stages:
   - upload
 
 upload:
   stage: upload
-  except: main
+  tags:
+    - docker
+  except:
+    refs:
+      - main
   script:
     - make upload
 
 upload_production:
   stage: upload
   script:
     - make upload
 
 upload_production:
   stage: upload
-  only: main
+  tags:
+    - docker
+  only:
+    refs:
+      - main
   environment: production
   script:
     - make upload
   environment: production
   script:
     - make upload