From f7f0ed4c2a195ee3b7fc0e8acb0283c817a0f927 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sat, 16 Oct 2021 15:12:32 +0200 Subject: Add the CI deployment files --- .gitlab-ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .gitlab-ci.yml (limited to '.gitlab-ci.yml') 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 -- cgit