Create custom CI pipeline
This commit is contained in:
parent
0533731f69
commit
3bea564006
@ -12,6 +12,8 @@ steps:
|
||||
image: golang:1.23.6
|
||||
commands:
|
||||
- go build
|
||||
when:
|
||||
event: tag
|
||||
|
||||
- name: docker
|
||||
image: woodpeckerci/plugin-kaniko
|
||||
@ -50,11 +52,3 @@ steps:
|
||||
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
|
14
.woodpecker/manifest.yml
Normal file
14
.woodpecker/manifest.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user