diff --git a/make/tool.mk b/make/tool.mk index c3492c0e5e..0b0742ce1c 100644 --- a/make/tool.mk +++ b/make/tool.mk @@ -107,9 +107,10 @@ $(ALL_TOOLS_RAW):%: \ --platform $${ARCHS} \ --cache-from $(REGISTRY)/$(REPOSITORY_PREFIX)$*:latest \ --tag $(REGISTRY)/$(REPOSITORY_PREFIX)$*:$${VERSION_TAG} \ - --provenance=false \ + --sbom=false \ + --attest=type=provenance,mode=max \ --metadata-file $(TOOLS_DIR)/$@/build-metadata.json \ - --output type=registry,oci-mediatypes=true,push=$${PUSH} \ + --output type=registry,oci-mediatypes=true,rewrite-timestamp=true,push=$${PUSH} \ --progress plain \ >$(TOOLS_DIR)/$@/build.log 2>&1; then \ cat $(TOOLS_DIR)/$@/build.log; \ diff --git a/tools/dummy-amd64-only/Dockerfile.template b/tools/dummy-amd64-only/Dockerfile.template new file mode 100644 index 0000000000..714b167de0 --- /dev/null +++ b/tools/dummy-amd64-only/Dockerfile.template @@ -0,0 +1,12 @@ +#syntax=docker/dockerfile:1.12.0@sha256:db1ff77fb637a5955317c7a3a62540196396d565f3dd5742e76dddbb6d75c4c5 + +FROM registry.gitlab.com/uniget-org/images/ubuntu:24.04 AS prepare +COPY --from=ghcr.io/uniget-org/tools/uniget-build:latest \ + /etc/profile.d/ \ + /etc/profile.d/ +SHELL [ "bash", "-clo", "errexit" ] +ARG name +ARG version +RUN <