From 9f381c95fcf8667b8f4695c8425f2f9dc235b114 Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 19 Oct 2023 15:23:20 +0200 Subject: [PATCH 1/5] build: Update mirror --- .github/workflows/hub.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/hub.yml b/.github/workflows/hub.yml index 03260b3d..edc60101 100644 --- a/.github/workflows/hub.yml +++ b/.github/workflows/hub.yml @@ -22,3 +22,12 @@ jobs: repository: ${{ github.repository }} short-description: ${{ github.event.repository.description }} readme-filepath: ./readme.md + - + name: Docker Hub Description + uses: peter-evans/dockerhub-description@v3 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + repository: ${{ secrets.DOCKERHUB_MIRROR }} + short-description: ${{ github.event.repository.description }} + readme-filepath: ./readme.md From 2b2c6958c918660120b0a062f6225e501b29dabf Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 19 Oct 2023 15:27:23 +0200 Subject: [PATCH 2/5] build: Push to mirror --- .github/workflows/build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77f0e6e3..dbc82f81 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,8 @@ jobs: TAGS=() TAGS=("${{ github.repository }}:latest") TAGS+=("${{ github.repository }}:${VERSION}") + TAGS=("${{ secrets.DOCKERHUB_MIRROR }}:latest") + TAGS+=("${{ secrets.DOCKERHUB_MIRROR }}:${VERSION}") TAGS+=("ghcr.io/${{ github.repository }}:latest") TAGS+=("ghcr.io/${{ github.repository }}:${VERSION}") From b9961ac59aa4413dcc6616a0817e08a7b8065fff Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 19 Oct 2023 15:31:23 +0200 Subject: [PATCH 3/5] docs: Update location --- readme.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index e145bbe7..4ed5875b 100644 --- a/readme.md +++ b/readme.md @@ -29,7 +29,7 @@ version: "3" services: dsm: container_name: dsm - image: kroese/virtual-dsm:latest + image: vdsm/virtual-dsm:latest environment: DISK_SIZE: "16G" devices: @@ -48,7 +48,7 @@ services: Via `docker run` ```bash -docker run -it --rm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 60 kroese/virtual-dsm:latest +docker run -it --rm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 60 vdsm/virtual-dsm:latest ``` ## FAQ @@ -199,10 +199,10 @@ docker run -it --rm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti Only run this container on Synology hardware, any other use is not permitted by their EULA. The product names, logos, brands, and other trademarks referred to within this project are the property of their respective trademark holders. This project is not affiliated, sponsored, or endorsed by Synology, Inc. [build_url]: https://github.com/vdsm/virtual-dsm/ -[hub_url]: https://hub.docker.com/r/kroese/virtual-dsm -[tag_url]: https://hub.docker.com/r/kroese/virtual-dsm/tags +[hub_url]: https://hub.docker.com/r/vdsm/virtual-dsm +[tag_url]: https://hub.docker.com/r/vdsm/virtual-dsm/tags [Build]: https://github.com/vdsm/virtual-dsm/actions/workflows/build.yml/badge.svg -[Size]: https://img.shields.io/docker/image-size/kroese/virtual-dsm/latest?color=066da5&label=size +[Size]: https://img.shields.io/docker/image-size/vdsm/virtual-dsm/latest?color=066da5&label=size [Pulls]: https://img.shields.io/docker/pulls/kroese/virtual-dsm.svg?style=flat&label=pulls&logo=docker -[Version]: https://img.shields.io/docker/v/kroese/virtual-dsm/latest?arch=amd64&sort=semver&color=066da5 +[Version]: https://img.shields.io/docker/v/vdsm/virtual-dsm/latest?arch=amd64&sort=semver&color=066da5 From 6cbd6d44190d262cbb405eceaea41d6c6b75bbbb Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 19 Oct 2023 15:31:58 +0200 Subject: [PATCH 4/5] fix: Update location --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 60ea6742..22415501 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: "3" services: dsm: container_name: dsm - image: kroese/virtual-dsm:latest + image: vdsm/virtual-dsm:latest environment: CPU_CORES: "1" DISK_SIZE: "16G" From 27768e198659f687cada98e273834f326a4d133f Mon Sep 17 00:00:00 2001 From: Kroese Date: Thu, 19 Oct 2023 15:33:12 +0200 Subject: [PATCH 5/5] fix: Update location --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7de23eff..fb93a143 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,7 +63,7 @@ LABEL org.opencontainers.image.created=${DATE_ARG} LABEL org.opencontainers.image.revision=${BUILD_ARG} LABEL org.opencontainers.image.version=${VERSION_ARG} LABEL org.opencontainers.image.source="https://github.com/vdsm/virtual-dsm/" -LABEL org.opencontainers.image.url="https://hub.docker.com/r/kroese/virtual-dsm/" +LABEL org.opencontainers.image.url="https://hub.docker.com/r/vdsm/virtual-dsm/" LABEL org.opencontainers.image.description="Virtual DSM in a docker container" HEALTHCHECK --interval=60s --retries=2 CMD /run/check.sh