Skip to content

Commit

Permalink
fix(ci): tweak goreleaser build process some more
Browse files Browse the repository at this point in the history
  • Loading branch information
PrivatePuffin committed Oct 22, 2024
1 parent 47460ea commit 4b5048c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 27 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/clustertool.release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
33 changes: 6 additions & 27 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"
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 <[email protected]>"
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

0 comments on commit 4b5048c

Please sign in to comment.