Compare commits

..

No commits in common. "c9da7ff163221991c9238b8c014c44f5a32cb1a8" and "978698a0887ef68e95c5319ab2d97bf51fe5d037" have entirely different histories.

2 changed files with 25 additions and 3 deletions

View File

@ -2,17 +2,38 @@ matrix:
platform: platform:
- linux/amd64 - linux/amd64
- linux/arm64 - linux/arm64
- linux/riscv64
labels: labels:
platform: ${platform} platform: ${platform}
steps: steps:
- name: build - name: build-amd64
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
@ -40,7 +61,7 @@ steps:
event: tag event: tag
- name: release - name: release
image: woodpeckerci/plugin-release:0.2.3 image: woodpeckerci/plugin-release
settings: settings:
title: "Version ${CI_COMMIT_TAG##v}" title: "Version ${CI_COMMIT_TAG##v}"
files: files:

View File

@ -5,9 +5,10 @@ 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 --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: when:
- event: tag - event: tag
- platform: linux/amd64
depends_on: depends_on:
- build - build