From 2704b8589fde4ea63f3063fdd1fc2ce0a8aa50e7 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Mon, 11 Nov 2024 18:29:24 +0400 Subject: [PATCH] feat: update Go to 1.23.3 See https://go.dev/doc/devel/release#go1.23.minor Signed-off-by: Andrey Smirnov --- .github/workflows/ci.yaml | 6 +++--- .github/workflows/weekly.yaml | 4 ++-- Makefile | 12 +++++++++++- Pkgfile | 6 +++--- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7edd204..5f0e35d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2024-10-17T13:05:59Z by kres 34e72ac. +# Generated on 2024-11-11T14:23:10Z by kres b6443eb. name: default concurrency: @@ -33,7 +33,7 @@ jobs: labels: ${{ steps.retrieve-pr-labels.outputs.result }} services: buildkitd: - image: moby/buildkit:v0.16.0 + image: moby/buildkit:v0.17.1 options: --privileged ports: - 1234:1234 @@ -129,7 +129,7 @@ jobs: - default services: buildkitd: - image: moby/buildkit:v0.16.0 + image: moby/buildkit:v0.17.1 options: --privileged ports: - 1234:1234 diff --git a/.github/workflows/weekly.yaml b/.github/workflows/weekly.yaml index f53eb47..cfb6418 100644 --- a/.github/workflows/weekly.yaml +++ b/.github/workflows/weekly.yaml @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2024-10-17T13:05:59Z by kres 34e72ac. +# Generated on 2024-11-11T14:23:10Z by kres b6443eb. name: weekly concurrency: @@ -16,7 +16,7 @@ jobs: - pkgs services: buildkitd: - image: moby/buildkit:v0.16.0 + image: moby/buildkit:v0.17.1 options: --privileged ports: - 1234:1234 diff --git a/Makefile b/Makefile index fa00d2f..0bfb22f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT. # -# Generated on 2024-08-07T16:01:58Z by kres dbf015a. +# Generated on 2024-11-11T14:23:10Z by kres b6443eb. # common variables @@ -41,6 +41,7 @@ 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=1 # targets defines all the available targets @@ -110,6 +111,15 @@ 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) ARTIFACTS=$(ARTIFACTS) bash -c '\ + for platform in $$(tr "," "\n" <<< "$$PLATFORM"); do \ + echo $$platform; \ + directory="$${platform//\//_}"; \ + if [[ -d "$$ARTIFACTS/$$directory" ]]; then \ + mv "$$ARTIFACTS/$$directory/"* $$ARTIFACTS; \ + rmdir "$$ARTIFACTS/$$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)" diff --git a/Pkgfile b/Pkgfile index 39695c5..1b368ee 100644 --- a/Pkgfile +++ b/Pkgfile @@ -129,9 +129,9 @@ vars: gmp_sha512: c99be0950a1d05a0297d65641dd35b75b74466f7bf03c9e8a99895a3b2f9a0856cd17887738fa51cf7499781b65c049769271cbcb77d057d2e9f1ec52e07dd84 # renovate: datasource=github-tags extractVersion=^go(?.*)$ depName=golang/go - golang_version: 1.23.2 - golang_sha256: 36930162a93df417d90bd22c6e14daff4705baac2b02418edda671cdfa9cd07f - golang_sha512: e4f9d17ed7888b89b6a72966f8681bbacb5b8bebb7959e530dc058d2fa94012d45067d1884eccd352a0fc8279e6814a932260a46140b65593679d28598bf4d5c + golang_version: 1.23.3 + golang_sha256: 8d6a77332487557c6afa2421131b50f83db4ae3c579c3bc72e670ee1f6968599 + golang_sha512: b9b0d36aa1c42f45434b839037f95201f20a1ac8e1c4a1ee4a646f49c85273038854540d36fca0ea3a9edc314431b410717331397d20a8d20c4bead78c060bbb # renovate: datasource=git-tags extractVersion=^v(?.*)$ depName=git://git.savannah.gnu.org/gperf.git gperf_version: 3.1