From 06f2a383234785ab85c4608fbd6752db22a6eba4 Mon Sep 17 00:00:00 2001 From: Hadrien Patte Date: Sat, 16 Nov 2024 00:50:08 +0100 Subject: [PATCH] Disable InvalidDefaultArgInFrom buildkit check and fail build on check error --- .github/scripts/build-image.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/scripts/build-image.sh b/.github/scripts/build-image.sh index 8054929..8462a21 100755 --- a/.github/scripts/build-image.sh +++ b/.github/scripts/build-image.sh @@ -31,6 +31,7 @@ else --build-arg UBUNTU_VERSION=${DEFAULT_UBUNTU_VERSION} \ --build-arg CHISEL_VERSION=${DEFAULT_CHISEL_VERSION} \ --build-arg SOURCE_DATE_EPOCH=${SOURCE_DATE_EPOCH} \ + --build-arg "BUILDKIT_DOCKERFILE_CHECK=skip=InvalidDefaultArgInFrom;error=true" \ --label "org.opencontainers.image.authors=${GITHUB_REPOSITORY_OWNER}" \ --label "org.opencontainers.image.source=${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" \ --label "org.opencontainers.image.version=${VERSION}" \