diff --git a/.github/workflows/images.yaml b/.github/workflows/images.yaml index 1732f44..fee8e48 100644 --- a/.github/workflows/images.yaml +++ b/.github/workflows/images.yaml @@ -48,6 +48,13 @@ jobs: - uses: imjasonh/setup-crane@v0.3 - + name: Get buildkit image tag + id: imageBuildkitTag + uses: mikefarah/yq@v4.44.1 + with: + cmd: yq '.images[0].newTag' buildkit/kustomization.yaml + - + name: Mirror buildkit image from hub run: | - TAG_BUILDKIT=v0.14.1-rootless + TAG_BUILDKIT=${{ steps.imageBuildkitTag.outputs.result }} crane cp docker.io/moby/buildkit:$TAG_BUILDKIT ghcr.io/yolean/buildkit:$TAG_BUILDKIT diff --git a/bin/y-bin.runner.yaml b/bin/y-bin.runner.yaml index 87ae017..4987e1a 100755 --- a/bin/y-bin.runner.yaml +++ b/bin/y-bin.runner.yaml @@ -86,14 +86,14 @@ helm: path: ${os}-${arch}/helm buildctl: - version: 0.14.1 + version: 0.15.1 templates: download: https://github.com/moby/buildkit/releases/download/v${version}/buildkit-v${version}.${os}-${arch}.tar.gz sha256: - darwin_amd64: 6c12e4e73825aaf8f4b84970905eeada6794358479fc6606ef8c38875833abbf - darwin_arm64: 7e2063f0a5753f58b420dc630fdf501114c9d64ca4ed48412d751b5345568dd6 - linux_amd64: 836208f50ab8856a91aa5bba455b8451bbe261318cbc92e9c0ca3e786135756c - linux_arm64: e1caad39f0bc5848a5687d7a0e8e344d20724133365596e5d881d8fbe5594b32 + darwin_amd64: 84fedb9bff0a635a55eaac06f9c448a029d4418b3b1fd48570582bc2c8dceff5 + darwin_arm64: 84f551a8c9eda6e17d487740b819b62e40755a39d910e85d73f4a70dec9345bb + linux_amd64: e433c3d3484ad5c13a74435a28ba96334369c9ecce13b4ed0e310ad5f90f7060 + linux_arm64: 608539ed0686f6533504ab43ed1005ab9c7bb45daec1cc5caa99de0c6314408c archive: tool: tar #path: $(test 'linux' = $os && echo "bin/buildctl" || echo "buildctl") diff --git a/buildkit/kustomization.yaml b/buildkit/kustomization.yaml index 0585f41..e80fafc 100644 --- a/buildkit/kustomization.yaml +++ b/buildkit/kustomization.yaml @@ -3,8 +3,8 @@ kind: Kustomization images: - name: moby/buildkit:rootless - newName: docker.io/moby/buildkit - newTag: v0.14.1-rootless@sha256:3cd8fa799bbe1044ad4bdfc2f9679750a33ddcbaf4154222029df36f3e31c5af + newName: ghcr.io/yolean/buildkit + newTag: v0.15.1-rootless@sha256:d1ba4b5847404fcfc0b511f28575acdbc44419dfb1fa1565c558e3b9c1b6ea5c resources: - service.yaml