Skip to content

Commit

Permalink
mirror docker:dind images
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Dec 8, 2024
1 parent 832f13b commit 8aac7cd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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.io/moby/dockerd:$TAG_DOCKERD ghcr.io/yolean/dockerd:$TAG_DOCKERD
crane cp docker.io/moby/dockerd:$TAG_DOCKERD-rootless ghcr.io/yolean/dockerd:$TAG_DOCKERD-rootless
-
name: Get gitea image tag
id: imageGiteaTag
Expand Down
2 changes: 1 addition & 1 deletion docker/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ images:
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
newTag: 27.4.0-rc.4-dind-rootless@sha256:5c293fdc092fde1bd8a8127908a31efacb504f97388d31b1cc6b921e765f2953

resources:
- dockerd-service.yaml
Expand Down

0 comments on commit 8aac7cd

Please sign in to comment.