diff --git a/.forgejo/workflows/docker-privatecoffee.yml b/.forgejo/workflows/docker-privatecoffee.yml index b1b29e4..2d889f7 100644 --- a/.forgejo/workflows/docker-privatecoffee.yml +++ b/.forgejo/workflows/docker-privatecoffee.yml @@ -1,7 +1,9 @@ name: Docker CI/CD on: - push + push: + tags: + - "*" jobs: docker: @@ -17,13 +19,13 @@ jobs: uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Login to Docker Hub + - name: Login to Forgejo uses: docker/login-action@v3 with: registry: git.private.coffee username: ${{ secrets.FORGEJO_USER }} password: ${{ secrets.FORGEJO_TOKEN }} - - name: Build and push to Docker Hub + - name: Build and push to Forgejo uses: docker/build-push-action@v5 with: push: true diff --git a/README.md b/README.md index a773891..e50d652 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,8 @@ wikimore ### Docker +__Notice:__ The Docker image is now hosted on the [Private.coffee Git](https://git.private.coffee/PrivateCoffee/-/packages/container/wikimore/latest). Please update your Docker Compose file to use `git.private.coffee/privatecoffee/wikimore:latest` instead of `privatecoffee/wikimore:latest`. The Docker Hub deployment may be removed in the future. + For your convenience, we also provide a Docker image. Note however that this is _not_ the recommended way to run Wikimore. You can use the bundled `docker-compose-example.yml` file to run Wikimore with Docker Compose. diff --git a/docker-compose-example.yml b/docker-compose-example.yml index bca495b..f4a4802 100644 --- a/docker-compose-example.yml +++ b/docker-compose-example.yml @@ -2,7 +2,7 @@ services: wikimore-app: container_name: wikimore restart: unless-stopped - image: privatecoffee/wikimore:latest + image: git.private.coffee/privatecoffee/wikimore:latest ports: - "127.0.0.1:8109:8109" security_opt: