From 321f83fb2abfadff37cf49693c153b59a658ae4c Mon Sep 17 00:00:00 2001 From: Tom Neuber Date: Fri, 1 Nov 2024 13:40:17 +0100 Subject: [PATCH] Add woodpecker ci (temp) --- .woodpecker/.build.yaml | 38 ++++++++++++++++++++++++++++++++++++++ package-lock.json | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 .woodpecker/.build.yaml diff --git a/.woodpecker/.build.yaml b/.woodpecker/.build.yaml new file mode 100644 index 0000000000..04d9d3d2ae --- /dev/null +++ b/.woodpecker/.build.yaml @@ -0,0 +1,38 @@ +--- +steps: + - name: build (prod) + image: woodpeckerci/plugin-docker-buildx + settings: + registry: git.ar21.de + username: + from_secret: REGISTRY_USER + password: + from_secret: REGISTRY_PASS + repo: git.ar21.de/tom/forkjo + platforms: + - linux/amd64 + tags: + - latest + - ${CI_PIPELINE_NUMBER} + when: + - branch: forgejo + event: push + + - name: build (experimental) + image: woodpeckerci/plugin-docker-buildx + settings: + registry: git.ar21.de + username: + from_secret: REGISTRY_USER + password: + from_secret: REGISTRY_PASS + repo: git.ar21.de/tom/forkjo + platforms: + - linux/amd64 + tags: + - experimental + - experimental-${CI_PIPELINE_NUMBER} + when: + - branch: + exclude: forgejo + event: push diff --git a/package-lock.json b/package-lock.json index ffd9ba90ef..7137a70c2b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "forgejo", + "name": "forkjo", "lockfileVersion": 3, "requires": true, "packages": {