Merged in feature/incrementalfullsuite (pull request #166)

Feature/incrementalfullsuite

* makeincremental

* don

* passfullsuite

* simpler
This commit is contained in:
Michael McGuinness
2025-06-11 12:01:04 +00:00
parent d4a65ccf78
commit e0d91d17e1
8 changed files with 118 additions and 18 deletions
+7 -2
View File
@@ -6,7 +6,7 @@ version: "3"
vars:
DOCKERFILE: "build/Dockerfile"
GIT_VERSION:
sh: git describe --tags --always --dirty
sh: git describe --tags --always
GIT_COMMIT:
sh: git rev-parse HEAD
@@ -17,7 +17,12 @@ tasks:
build:
run: once
cmd: |
# Build with caching enabled
docker build \
--build-arg "GIT_VERSION={{.GIT_VERSION}}" \
--build-arg "GIT_COMMIT={{.GIT_COMMIT}}" \
-t {{.IMAGE_NAME}} -f {{.DOCKERFILE}} .
--cache-from {{.IMAGE_NAME}}:latest \
--build-arg BUILDKIT_INLINE_CACHE=1 \
-t {{.IMAGE_NAME}}:latest \
-t {{.IMAGE_NAME}}:{{.GIT_VERSION}} \
-f {{.DOCKERFILE}} .