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