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
This commit is contained in:
Michael McGuinness
2025-06-02 10:44:45 +00:00
parent db469e7491
commit b8302344b4
24 changed files with 341 additions and 270 deletions
+9 -2
View File
@@ -5,6 +5,10 @@ version: "3"
vars:
DOCKERFILE: "build/Dockerfile"
GIT_VERSION:
sh: git describe --tags --always --dirty
GIT_COMMIT:
sh: git rev-parse HEAD
tasks:
lint:
@@ -12,5 +16,8 @@ tasks:
- hadolint {{.DOCKERFILE}} -t none
build:
run: once
cmds:
- docker build -t {{.IMAGE_NAME}} -f {{.DOCKERFILE}} .
cmd: |
docker build \
--build-arg "GIT_VERSION={{.GIT_VERSION}}" \
--build-arg "GIT_COMMIT={{.GIT_COMMIT}}" \
-t {{.IMAGE_NAME}} -f {{.DOCKERFILE}} .