chore(tooling): cleanup of Taskfile

This commit is contained in:
NaeiKinDus 2025-02-26 00:00:00 +00:00
parent ed41e77b30
commit 93a3754ce4
Signed by: WoodSmellParticle
GPG key ID: 8E52ADFF7CA8AE56

View file

@ -33,6 +33,7 @@ tasks:
DOCKERFILE: '{{.ITEM}}' DOCKERFILE: '{{.ITEM}}'
DOCKER_CONTEXT: images DOCKER_CONTEXT: images
IMAGE_TAG: '{{.ITEM | splitList "/" | last | replace "Dockerfile-" ""}}' IMAGE_TAG: '{{.ITEM | splitList "/" | last | replace "Dockerfile-" ""}}'
docker:build:image: docker:build:image:
internal: true internal: true
sources: sources:
@ -42,13 +43,6 @@ tasks:
status: status:
- docker image ls --format '{{"{{"}} .Tag {{"}}"}}' | grep -E '^{{.IMAGE_TAG}}$' - docker image ls --format '{{"{{"}} .Tag {{"}}"}}' | grep -E '^{{.IMAGE_TAG}}$'
docker:push:
desc: push locally built images
cmds:
- 'echo docker push $DOCKER_REPOSITORY:$IMAGE_TAG'
env:
IMAGE_TAG:
nosey: nosey:
desc: start noseyparker to ensure no secrets or passwords are committed desc: start noseyparker to ensure no secrets or passwords are committed
cmds: cmds: