-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Taskfile.yml
39 lines (31 loc) · 1.25 KB
/
Taskfile.yml
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
# https://taskfile.dev
version: '3'
vars:
BUILD_DATE: $(date +%Y%m%d%H)
tasks:
debian:
desc: build debian image
cmds:
- docker buildx build --pull --platform linux/amd64,linux/arm64 -t ysicing/debian -t ysicing/debian:{{.BUILD_DATE}} -t ghcr.io/ysicing/debian -t ttl.sh/core/debian --push debian
god:
desc: build go debian image
cmds:
- docker buildx build --pull --platform linux/amd64,linux/arm64 -t ysicing/god -t ysicing/god:{{.BUILD_DATE}} -t ghcr.io/ysicing/god -t ttl.sh/core/god --push god
registry:
desc: build registry image
cmds:
- docker buildx build --pull --platform linux/amd64 -t ysicing/registry -t ysicing/registry:{{.BUILD_DATE}} -t ttl.sh/core/registry --push registry
skopeo:
desc: build skopeo image
cmds:
- docker buildx build --pull --platform linux/amd64,linux/arm64 -t ysicing/registry -t ysicing/skopeo:{{.BUILD_DATE}} -t ttl.sh/core/skopeo -t ghcr.io/ysicing/skopeo --push skopeo
r3m:
desc: build r3m image
cmds:
- docker buildx build --pull --platform linux/amd64 -t ysicing/r3m -t ysicing/r3m:{{.BUILD_DATE}} -t ttl.sh/core/r3m -t ghcr.io/ysicing/r3m --push r3m
default:
cmds:
- task: debian
- task: god
- task: skopeo
- task: r3m