]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - .gitlab-ci.yml
Pass environment variables to compose:
[rbdr/r.bdr.sh] / .gitlab-ci.yml
index c8e8ac1e2acc79b9f4236a55eaa44bfdb875d7a3..97c6d11514d502e6945640084e52231690c7e502 100644 (file)
@@ -1,17 +1,32 @@
+image: docker/compose:alpine-1.29.2
+
+services:
+    - docker:dind
+
+before_script:
+  - apk add build-base
+  - touch .env
+
 stages:
   - upload
 
 upload:
   stage: upload
-  except:refs:
-    - main
+  tags:
+    - docker
+  except:
+    refs:
+      - main
   script:
     - make upload
 
 upload_production:
   stage: upload
-  only:refs:
-    - main
+  tags:
+    - docker
+  only:
+    refs:
+      - main
   environment: production
   script:
     - make upload