Add CD
All checks were successful
ci/woodpecker/push/publish Pipeline was successful

This commit is contained in:
Mylloon 2024-03-18 14:15:11 +01:00
parent 4a851404cb
commit 150e2a7dc3
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 18 additions and 1 deletions

15
.forgejo/publish.yml Normal file
View file

@ -0,0 +1,15 @@
steps:
publish:
image: woodpeckerci/plugin-docker-buildx:2
settings:
labels:
platform: linux/amd64
repo: git.mylloon.fr/${CI_REPO,,}
auto_tag: true
registry: git.mylloon.fr
username: ${CI_REPO_OWNER}
password:
from_secret: cb_token
when:
event: push
branch: main

View file

@ -16,6 +16,8 @@ Clone the repo and run `npm run main`.
### Docker ### Docker
[![status-badge](https://ci.mylloon.fr/api/badges/73/status.svg)](https://ci.mylloon.fr/repos/73)
> Docker-compose > Docker-compose
```docker-compose ```docker-compose
@ -23,7 +25,7 @@ version: "3"
services: services:
constnium: constnium:
build: https://git.mylloon.fr/Anri/Constnium.git#main image: git.mylloon.fr/anri/constnium:latest
container_name: Constnium container_name: Constnium
ports: ports:
- 3000:3000 - 3000:3000