Improve building special images

This commit is contained in:
Florian Zirker 2025-07-23 09:34:25 +02:00
parent 9a1ae65708
commit 4fe31b5135
6 changed files with 23 additions and 6 deletions

View file

@ -8,9 +8,17 @@ tasks:
pull:
desc: Pull all images for {{.NAME}}
dir: "{{.TASKFILE_DIR}}"
deps: [build]
cmds:
- docker compose pull --ignore-buildable
build:
desc: "Building special Caddy image with netcup support"
dir: "{{.TASKFILE_DIR}}"
dotenv: [.env]
cmds:
- docker build --pull --file caddy/Dockerfile --build-arg CADDY_VERSION=$CADDY_VERSION --tag $DOCKER_REGISTRY/caddy:${CADDY_VERSION} .
up:
desc: Starting {{.NAME}} docker compose as daemon
dir: "{{.TASKFILE_DIR}}"