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/manifest Pipeline was successful
ci/woodpecker/tag/build/1 Pipeline was successful
ci/woodpecker/release/build/1 Pipeline was successful
ci/woodpecker/release/build/2 Pipeline was successful
ci/woodpecker/release/manifest Pipeline was successful
ci/woodpecker/tag/manifest unknown status
ci/woodpecker/tag/build/2 Pipeline failed
Some checks failed
ci/woodpecker/push/build/1 Pipeline was successful
ci/woodpecker/push/build/2 Pipeline was successful
ci/woodpecker/push/manifest Pipeline was successful
ci/woodpecker/tag/build/1 Pipeline was successful
ci/woodpecker/release/build/1 Pipeline was successful
ci/woodpecker/release/build/2 Pipeline was successful
ci/woodpecker/release/manifest Pipeline was successful
ci/woodpecker/tag/manifest unknown status
ci/woodpecker/tag/build/2 Pipeline failed
This commit is contained in:
@@ -2,7 +2,6 @@ matrix:
|
|||||||
platform:
|
platform:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/riscv64
|
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
platform: ${platform}
|
platform: ${platform}
|
||||||
@@ -14,20 +13,6 @@ steps:
|
|||||||
- go build
|
- go build
|
||||||
when:
|
when:
|
||||||
- event: tag
|
- event: tag
|
||||||
matrix:
|
|
||||||
platform: linux/amd64
|
|
||||||
- event: tag
|
|
||||||
matrix:
|
|
||||||
platform: linux/arm64
|
|
||||||
|
|
||||||
- name: build-riscv
|
|
||||||
image: riscv64/golang:1.23.6-alpine
|
|
||||||
commands:
|
|
||||||
- go build
|
|
||||||
when:
|
|
||||||
- event: tag
|
|
||||||
matrix:
|
|
||||||
platform: linux/riscv64
|
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
@@ -55,7 +40,7 @@ steps:
|
|||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: woodpeckerci/plugin-release
|
image: woodpeckerci/plugin-release:0.2.3
|
||||||
settings:
|
settings:
|
||||||
title: "Version ${CI_COMMIT_TAG##v}"
|
title: "Version ${CI_COMMIT_TAG##v}"
|
||||||
files:
|
files:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ steps:
|
|||||||
- name: manifest
|
- name: manifest
|
||||||
image: mplatform/manifest-tool
|
image: mplatform/manifest-tool
|
||||||
commands:
|
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
|
- manifest-tool push from-args --platforms linux/amd64,linux/arm64 --template gitea.elara.ws/elara6331/distrohop:ARCH --tags ${CI_COMMIT_TAG} --target gitea.elara.ws/elara6331/distrohop:latest
|
||||||
when:
|
when:
|
||||||
- event: tag
|
- event: tag
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user