-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
41 lines (38 loc) · 1.04 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
services:
duploctl:
image: duplocloud/duploctl:latest
container_name: duploctl
build:
target: runner
args:
PY_VERSION: ${PY_VERSION:-3.12}
tags:
- duplocloud/duploctl:latest
- duplocloud/duploctl:${GIT_SHA:-latest}
- duplocloud/duploctl:${GIT_REF:-latest}
- duplocloud/duploctl:${GIT_TAG:-latest}
x-bake:
platforms:
- linux/amd64
- linux/arm64
cache-to: type=gha,scope=runner,mode=max
cache-from: type=gha,scope=runner
environment:
DUPLO_HOST: ${DUPLO_HOST:-}
DUPLO_TOKEN: ${DUPLO_TOKEN:-}
DUPLO_TENANT: ${DUPLO_TENANT:-}
DUPLO_OUTPUT: yaml
duploctl-bin:
image: duplocloud/duploctl:bin
container_name: duploctl-bin
build:
target: bin
args:
PY_VERSION: ${PY_VERSION:-3.12}
x-bake:
platforms:
- linux/amd64
- linux/arm64
output: type=local,dest=./dist
cache-to: type=gha,scope=installer,mode=max
cache-from: type=gha,scope=installer