fix(ci): tweak goreleaser build process some more

This commit is contained in:
Kjeld Schouten
2024-10-22 15:38:47 +02:00
parent 47460ea4a7
commit 4b5048c6be
2 changed files with 8 additions and 27 deletions
@@ -14,6 +14,8 @@ jobs:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5 - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5
with: with:
go-version: stable go-version: stable
- name: Install Syft
run: sudo apt-get update && sudo apt-get install -y syft
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4 - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with: with:
fetch-depth: 0 fetch-depth: 0
+6 -27
View File
@@ -60,40 +60,19 @@ before:
sboms: sboms:
- artifacts: archive - artifacts: archive
- id: source - id: source
artifacts: source artifacts: source
nfpms: nfpms:
- id: clustertool-amd64 - package_name: clustertool
package_name: clustertool
builds:
- amd64 # Reference to the amd64 build
vendor: TrueCharts vendor: TrueCharts
homepage: https://truecharts.org homepage: https://truecharts.org
maintainer: "TrueCharts <info@truecharts.org>" maintainer: "TrueCharts <info@truecharts.org>"
description: "ClusterTool CLI for AMD64 architecture." description: "ClusterTool CLI for AMD64 architecture."
license: BSL license: BSL
formats: formats:
- apk
- deb - deb
- rpm - rpm
bindir: /usr/local/bin - termux.deb
contents: - archlinux
- src: ./dist/clustertool_linux_amd64_v1/clustertool
dst: /usr/local/bin/clustertool
- id: clustertool-arm64
package_name: clustertool
builds:
- arm64 # Reference to the arm64 build
vendor: TrueCharts
homepage: https://truecharts.org
maintainer: "TrueCharts <info@truecharts.org>"
description: "ClusterTool CLI for ARM64 architecture."
license: BSL
formats:
- deb
- rpm
bindir: /usr/local/bin
contents:
- src: ./dist/clustertool_linux_arm64/clustertool
dst: /usr/local/bin/clustertool