+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