Compare commits

...

2 Commits

Author SHA1 Message Date
be3d45ab3e Create custom CI pipeline
Some checks failed
ci/woodpecker/push/build/1 Pipeline was successful
ci/woodpecker/push/build/2 Pipeline was successful
ci/woodpecker/push/build/3 Pipeline was successful
ci/woodpecker/push/manifest Pipeline was successful
ci/woodpecker/tag/build/1 Pipeline failed
ci/woodpecker/tag/build/2 Pipeline failed
ci/woodpecker/tag/build/3 Pipeline failed
ci/woodpecker/tag/manifest unknown status
2025-02-12 23:39:12 -08:00
3bea564006 Create custom CI pipeline 2025-02-12 23:37:03 -08:00
2 changed files with 26 additions and 9 deletions

View File

@ -12,6 +12,17 @@ steps:
image: golang:1.23.6
commands:
- go build
when:
- event: tag
platform: [linux/amd64, linux/arm64]
- name: build-riscv
image: riscv64/golang:1.23.6
commands:
- go build
when:
- event: tag
platform: [linux/riscv64]
- name: docker
image: woodpeckerci/plugin-kaniko
@ -49,12 +60,4 @@ steps:
api_key:
from_secret: gitea_token
when:
event: tag
- name: manifest
image: mplatform/manifest-tool
commands:
- manifest-tool push from-args --platforms linux/amd64,linux/arm64,linux/riscv64 --template gitea.elara.ws/elara6331/distrohop:ARCH --tags ${CI_COMMIT_TAG} --target gitea.elara.ws/elara6331/distrohop:latest
when:
event: tag
platform: linux/amd64
event: tag

14
.woodpecker/manifest.yml Normal file
View File

@ -0,0 +1,14 @@
labels:
platform: linux/amd64
steps:
- name: manifest
image: mplatform/manifest-tool
commands:
- manifest-tool push from-args --platforms linux/amd64,linux/arm64,linux/riscv64 --template gitea.elara.ws/elara6331/distrohop:ARCH --tags ${CI_COMMIT_TAG} --target gitea.elara.ws/elara6331/distrohop:latest
when:
- event: tag
platform: linux/amd64
depends_on:
- build