-
-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathtaskfile.docker.yml
More file actions
36 lines (30 loc) · 1.53 KB
/
Copy pathtaskfile.docker.yml
File metadata and controls
36 lines (30 loc) · 1.53 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
32
33
34
35
36
version: "3"
silent: true
tasks:
# Docker tasks
docker:build:
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
docker:dev-push-orb:
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"
docker:dev-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-development:{{.VERSION}} -t ghcr.io/damongolding/immich-kiosk-development:latest .
docker: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 .