Improve building special images
This commit is contained in:
parent
9a1ae65708
commit
4fe31b5135
6 changed files with 23 additions and 6 deletions
|
@ -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}}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue