Compare commits
3 Commits
978698a088
...
c9da7ff163
Author | SHA1 | Date | |
---|---|---|---|
c9da7ff163 | |||
5a4beea65e | |||
32cd1abc09 |
@ -2,38 +2,17 @@ matrix:
|
|||||||
platform:
|
platform:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/riscv64
|
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
platform: ${platform}
|
platform: ${platform}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build-amd64
|
- name: build
|
||||||
image: golang:1.23.6
|
image: golang:1.23.6
|
||||||
commands:
|
commands:
|
||||||
- go build
|
- go build
|
||||||
when:
|
when:
|
||||||
- event: tag
|
- event: tag
|
||||||
- matrix:
|
|
||||||
platform: linux/amd64
|
|
||||||
|
|
||||||
- name: build-arm64
|
|
||||||
image: golang:1.23.6
|
|
||||||
commands:
|
|
||||||
- go build
|
|
||||||
when:
|
|
||||||
- event: tag
|
|
||||||
- matrix:
|
|
||||||
platform: linux/arm64
|
|
||||||
|
|
||||||
- name: build-riscv
|
|
||||||
image: riscv64/golang:1.23.6
|
|
||||||
commands:
|
|
||||||
- go build
|
|
||||||
when:
|
|
||||||
- event: tag
|
|
||||||
- matrix:
|
|
||||||
platform: linux/riscv64
|
|
||||||
|
|
||||||
- name: docker
|
- name: docker
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
@ -61,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,10 +5,9 @@ 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
|
||||||
- platform: linux/amd64
|
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- build
|
- build
|
Loading…
x
Reference in New Issue
Block a user