From cd69fad9ce0659e54ec08efb13e7ad4a18499e34 Mon Sep 17 00:00:00 2001 From: Tom Neuber Date: Thu, 24 Oct 2024 21:05:38 +0200 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 c974973366..33336b6ffd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "forgejo", + "name": "forkjo", "lockfileVersion": 3, "requires": true, "packages": {