Create custom CI pipeline
This commit is contained in:
parent
0533731f69
commit
3bea564006
@ -12,6 +12,8 @@ steps:
|
|||||||
image: golang:1.23.6
|
image: golang:1.23.6
|
||||||
commands:
|
commands:
|
||||||
- go build
|
- go build
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
@ -49,12 +51,4 @@ steps:
|
|||||||
api_key:
|
api_key:
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
when:
|
when:
|
||||||
event: tag
|
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