Compare commits
3 Commits
978698a088
...
c9da7ff163
Author | SHA1 | Date | |
---|---|---|---|
c9da7ff163 | |||
5a4beea65e | |||
32cd1abc09 |
@ -2,38 +2,17 @@ matrix:
|
||||
platform:
|
||||
- linux/amd64
|
||||
- linux/arm64
|
||||
- linux/riscv64
|
||||
|
||||
labels:
|
||||
platform: ${platform}
|
||||
|
||||
steps:
|
||||
- name: build-amd64
|
||||
- name: build
|
||||
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
|
||||
@ -61,7 +40,7 @@ steps:
|
||||
event: tag
|
||||
|
||||
- name: release
|
||||
image: woodpeckerci/plugin-release
|
||||
image: woodpeckerci/plugin-release:0.2.3
|
||||
settings:
|
||||
title: "Version ${CI_COMMIT_TAG##v}"
|
||||
files:
|
||||
|
@ -5,10 +5,9 @@ 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
|
||||
- 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:
|
||||
- event: tag
|
||||
- platform: linux/amd64
|
||||
|
||||
depends_on:
|
||||
- build
|
Loading…
x
Reference in New Issue
Block a user