]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - .gitlab-ci.yml
lowercase pgp
[rbdr/r.bdr.sh] / .gitlab-ci.yml
index a50854930df126d45cc91bc5c6a1cb688458e027..de5cd1a7aa6c0fc6febe92eaeac7458c979b107c 100644 (file)
@@ -1,8 +1,19 @@
+image: docker/compose:alpine-1.29.2
+
+services:
+    - docker:dind
+
+before_script:
+  - apk add build-base
+  - touch .env
+
 stages:
   - upload
 
 upload:
   stage: upload
 stages:
   - upload
 
 upload:
   stage: upload
+  tags:
+    - docker
   except:
     refs:
       - main
   except:
     refs:
       - main
@@ -11,9 +22,11 @@ upload:
 
 upload_production:
   stage: upload
 
 upload_production:
   stage: upload
+  tags:
+    - docker
   only:
     refs:
       - main
   environment: production
   script:
   only:
     refs:
       - main
   environment: production
   script:
-    - make upload
+    - make environment=production upload