diff --git a/.github/workflows/images.yaml b/.github/workflows/images.yaml index 6b2179a..db5d663 100644 --- a/.github/workflows/images.yaml +++ b/.github/workflows/images.yaml @@ -69,6 +69,18 @@ jobs: run: | TAG_BUILDKIT=${{ steps.imageBuildkitTag.outputs.result }} crane cp docker.io/moby/buildkit:$TAG_BUILDKIT ghcr.io/yolean/buildkit:$TAG_BUILDKIT + - + name: Get dockerd image tag + id: imageDockerdTag + uses: mikefarah/yq@v4.44.1 + with: + cmd: yq '.images[0].newTag | sub("(.*)@.*", "${1}")' docker/kustomization.yaml + - + name: Mirror dockerd image from hub + run: | + TAG_DOCKERD=${{ steps.imageDockerdTag.outputs.result }} + crane cp docker:$TAG_DOCKERD ghcr.io/yolean/dockerd:$TAG_DOCKERD + crane cp docker:$TAG_DOCKERD-rootless ghcr.io/yolean/dockerd:$TAG_DOCKERD-rootless - name: Get gitea image tag id: imageGiteaTag diff --git a/docker/kustomization.yaml b/docker/kustomization.yaml index cd85647..b4e900d 100644 --- a/docker/kustomization.yaml +++ b/docker/kustomization.yaml @@ -3,11 +3,11 @@ kind: Kustomization images: - name: docker:dind - newName: docker + newName: ghcr.io/yolean/dockerd newTag: 27.4.0-rc.4-dind@sha256:fe786da99c6a9bc373f97f267f748f794ef4237558bb30ab2eedcb5112660244 - name: docker:dind-rootless - newName: docker - newTag: 27.4.0-rc.4-dind-rootless@sha256:fbc42b5c40d5b381777728a79e3191e9add2296ebf762899c50f42f41192a360 + newName: ghcr.io/yolean/dockerd + newTag: 27.4.0-rc.4-dind-rootless@sha256:5c293fdc092fde1bd8a8127908a31efacb504f97388d31b1cc6b921e765f2953 resources: - dockerd-service.yaml