-
-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathtaskfile.docker.yml
More file actions
31 lines (26 loc) · 1.2 KB
/
taskfile.docker.yml
File metadata and controls
31 lines (26 loc) · 1.2 KB
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
version: "3"
silent: true
tasks:
# Docker tasks
docker-image:
desc: Build docker image locally
cmds:
- cmd: orb start
if: "command -v orb >/dev/null 2>&1"
- docker build --no-cache --build-arg VERSION={{.VERSION}} --load -t damongolding/immich-kiosk:{{.VERSION}} -t damongolding/immich-kiosk:latest .
docker-buildx:
desc: Create and install docker buildx builder
cmds:
- docker buildx create --name multiplatform --driver docker-container --use
dev-push:
desc: Build and push development multi-arch docker image
cmds:
- cmd: orb start
if: "command -v orb >/dev/null 2>&1"
- docker build --build-arg VERSION={{.VERSION}}-DEVELOPMENT --platform linux/amd64,linux/arm64 --push -t ghcr.io/damongolding/immich-kiosk-development:{{.VERSION}} -t ghcr.io/damongolding/immich-kiosk-development:latest .
- cmd: orb stop
if: "command -v orb >/dev/null 2>&1"
push:
desc: Build and push development multi-arch docker image
cmds:
- docker build --build-arg VERSION={{.VERSION}}-DEVELOPMENT --platform linux/amd64,linux/arm64 --push -t ghcr.io/damongolding/immich-kiosk:{{.VERSION}} -t ghcr.io/damongolding/immich-kiosk:latest .