From 533b5953d28213aae4d4ae576bedf5df84712458 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Wed, 15 Jan 2025 17:58:04 +0400 Subject: [PATCH] chore: rekres to fix reproducibility Fixes local output. Signed-off-by: Andrey Smirnov --- .github/renovate.json | 12 ++++++++++++ Makefile | 13 +------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index ff44b1b..3705f35 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -43,6 +43,18 @@ "digest" ] }, + { + "enabled": false, + "matchFileNames": [ + "Dockerfile" + ] + }, + { + "enabled": false, + "matchFileNames": [ + ".github/workflows/*.yaml" + ] + }, { "versioning": "regex:^(?\\d+)\\.(?\\d+)\\.?(?\\d+)?$", "matchPackageNames": [ diff --git a/Makefile b/Makefile index fca4f9e..4dfd699 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2024-12-18T06:20:20Z by kres b9507d6. +# Generated on 2025-01-15T13:57:46Z by kres 3b3f992. # common variables @@ -36,13 +36,11 @@ PLATFORM ?= linux/amd64,linux/arm64 PROGRESS ?= auto PUSH ?= false CI_ARGS ?= -BUILDKIT_MULTI_PLATFORM ?= 1 COMMON_ARGS = --file=Pkgfile COMMON_ARGS += --provenance=false COMMON_ARGS += --progress=$(PROGRESS) COMMON_ARGS += --platform=$(PLATFORM) COMMON_ARGS += --build-arg=SOURCE_DATE_EPOCH=$(SOURCE_DATE_EPOCH) -COMMON_ARGS += --build-arg=BUILDKIT_MULTI_PLATFORM=$(BUILDKIT_MULTI_PLATFORM) # targets defines all the available targets @@ -112,15 +110,6 @@ target-%: ## Builds the specified target defined in the Pkgfile. The build resu local-%: ## Builds the specified target defined in the Pkgfile using the local output type. The build result will be output to the specified local destination. @$(MAKE) target-$* TARGET_ARGS="--output=type=local,dest=$(DEST) $(TARGET_ARGS)" - @PLATFORM=$(PLATFORM) DEST=$(DEST) bash -c '\ - for platform in $$(tr "," "\n" <<< "$$PLATFORM"); do \ - echo $$platform; \ - directory="$${platform//\//_}"; \ - if [[ -d "$$DEST/$$directory" ]]; then \ - mv -f "$$DEST/$$directory/"* $$DEST; \ - rmdir "$$DEST/$$directory/"; \ - fi; \ - done' docker-%: ## Builds the specified target defined in the Pkgfile using the docker output type. The build result will be loaded into Docker. @$(MAKE) target-$* TARGET_ARGS="$(TARGET_ARGS)"