Files
query-orchestration/scripts/docker.yml
T
Michael McGuinness b8302344b4 Merged in feature/ecr (pull request #159)
Test

* tests

* tar

* go

* tmp

* test

* go

* go

* go

* config

* goup

* versioning

* order

* cleanup

* git

* smallopts

* flags

* lessisgood

* go

* order

* ordermatters

* order

* cc

* test
2025-06-02 10:44:45 +00:00

24 lines
456 B
YAML

---
# https://taskfile.dev
version: "3"
vars:
DOCKERFILE: "build/Dockerfile"
GIT_VERSION:
sh: git describe --tags --always --dirty
GIT_COMMIT:
sh: git rev-parse HEAD
tasks:
lint:
cmds:
- hadolint {{.DOCKERFILE}} -t none
build:
run: once
cmd: |
docker build \
--build-arg "GIT_VERSION={{.GIT_VERSION}}" \
--build-arg "GIT_COMMIT={{.GIT_COMMIT}}" \
-t {{.IMAGE_NAME}} -f {{.DOCKERFILE}} .