diff options
Diffstat (limited to '.gitlab-ci.yml')
| -rw-r--r-- | .gitlab-ci.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..de5cd1a --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +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 + tags: + - docker + except: + refs: + - main + script: + - make upload + +upload_production: + stage: upload + tags: + - docker + only: + refs: + - main + environment: production + script: + - make environment=production upload |