diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77f0e6e..dbc82f8 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}") diff --git a/.github/workflows/hub.yml b/.github/workflows/hub.yml index 03260b3..edc6010 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 diff --git a/Dockerfile b/Dockerfile index 7de23ef..fb93a14 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 diff --git a/docker-compose.yml b/docker-compose.yml index 60ea674..2241550 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" diff --git a/readme.md b/readme.md index e145bbe..4ed5875 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