From 150e2a7dc31646619c0170e1b4488acfa3f81646 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 18 Mar 2024 14:15:11 +0100 Subject: [PATCH] Add CD --- .forgejo/publish.yml | 15 +++++++++++++++ README.md | 4 +++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .forgejo/publish.yml diff --git a/.forgejo/publish.yml b/.forgejo/publish.yml new file mode 100644 index 0000000..3e18079 --- /dev/null +++ b/.forgejo/publish.yml @@ -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 diff --git a/README.md b/README.md index 9f4a106..d1e429e 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ Clone the repo and run `npm run main`. ### Docker +[![status-badge](https://ci.mylloon.fr/api/badges/73/status.svg)](https://ci.mylloon.fr/repos/73) + > Docker-compose ```docker-compose @@ -23,7 +25,7 @@ version: "3" services: constnium: - build: https://git.mylloon.fr/Anri/Constnium.git#main + image: git.mylloon.fr/anri/constnium:latest container_name: Constnium ports: - 3000:3000