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
with:
go-version: stable
- name: Install Syft
run: sudo apt-get update && sudo apt-get install -y syft
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
with:
fetch-depth: 0
+6 -27
View File
@@ -60,40 +60,19 @@ before:
sboms:
- artifacts: archive
- id: source
artifacts: source
- id: source
artifacts: source
nfpms:
- id: clustertool-amd64
package_name: clustertool
builds:
- amd64 # Reference to the amd64 build
- package_name: clustertool
vendor: TrueCharts
homepage: https://truecharts.org
maintainer: "TrueCharts <info@truecharts.org>"
description: "ClusterTool CLI for AMD64 architecture."
license: BSL
formats:
- apk
- deb
- rpm
bindir: /usr/local/bin
contents:
- 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
- termux.deb
- archlinux