Compare commits
No commits in common. "c9da7ff163221991c9238b8c014c44f5a32cb1a8" and "978698a0887ef68e95c5319ab2d97bf51fe5d037" have entirely different histories.
c9da7ff163
...
978698a088
@ -2,17 +2,38 @@ matrix:
|
||||
platform:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
- linux/riscv64
|
||||
|
||||
labels:
|
||||
platform: ${platform}
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: build-amd64
|
||||
image: golang:1.23.6
|
||||
commands:
|
||||
- go build
|
||||
when:
|
||||
- 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
|
||||
image: woodpeckerci/plugin-kaniko
|
||||
@ -40,7 +61,7 @@ steps:
|
||||
event: tag
|
||||
|
||||
- name: release
|
||||
image: woodpeckerci/plugin-release:0.2.3
|
||||
image: woodpeckerci/plugin-release
|
||||
settings:
|
||||
title: "Version ${CI_COMMIT_TAG##v}"
|
||||
files:
|
||||
|
@ -5,9 +5,10 @@ steps:
|
||||
- name: manifest
|
||||
image: mplatform/manifest-tool
|
||||
commands:
|
||||
- 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
|
||||
- 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