mirror of
https://git.private.coffee/PrivateCoffee/wikimore.git
synced 2025-04-02 20:47:37 +03:00
feat(ci): migrate to Forgejo Docker registry
Updates CI/CD workflow to trigger on tag pushes and use Forgejo credentials Renames login and push steps to reflect the new container registry Modifies documentation and compose file to point to the updated image URL
This commit is contained in:
parent
076869592c
commit
b3462039a2
3 changed files with 8 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue