]>
Commit | Line | Data |
---|---|---|
a158d6db RBR |
1 | image: docker/compose:alpine-1.29.2 |
2 | ||
951d3fac RBR |
3 | services: |
4 | - docker:dind | |
5 | ||
9b4b7904 RBR |
6 | before_script: |
7 | - apk add build-base | |
3a418290 | 8 | - touch .env |
9b4b7904 | 9 | |
300639b4 RBR |
10 | stages: |
11 | - upload | |
12 | ||
13 | upload: | |
14 | stage: upload | |
6a208013 RBR |
15 | tags: |
16 | - docker | |
e109f04e RBR |
17 | except: |
18 | refs: | |
19 | - main | |
300639b4 RBR |
20 | script: |
21 | - make upload | |
22 | ||
23 | upload_production: | |
24 | stage: upload | |
6a208013 RBR |
25 | tags: |
26 | - docker | |
e109f04e RBR |
27 | only: |
28 | refs: | |
29 | - main | |
300639b4 RBR |
30 | environment: production |
31 | script: | |
c69812ec | 32 | - make environment=production upload |