Compare commits
2 Commits
0533731f69
...
be3d45ab3e
| Author | SHA1 | Date | |
|---|---|---|---|
| be3d45ab3e | |||
| 3bea564006 |
@@ -12,6 +12,17 @@ steps:
|
|||||||
image: golang:1.23.6
|
image: golang:1.23.6
|
||||||
commands:
|
commands:
|
||||||
- go build
|
- 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
|
- name: docker
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
@@ -50,11 +61,3 @@ steps:
|
|||||||
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
|
||||||
Reference in New Issue
Block a user