Skip to content

Commit d745106

Browse files
jade-guiton-ddcodebotenmx-psi
authored
[chore] Update goreleaser used in CI to v2.3.2 (#689)
* [chore] Update goreleaser version used in CI * Always specify GOARM parameter in CI It should simply get ignored when GOARCH is not "arm". --------- Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com> Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
1 parent 1d10b81 commit d745106

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/base-ci-goreleaser.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,19 @@ jobs:
6767
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
6868
with:
6969
distribution: goreleaser-pro
70-
version: v2.2.0
70+
version: v2.3.2
7171
workdir: distributions/${{ inputs.distribution }}
7272
args: --snapshot --clean --skip=sign,sbom --timeout 2h --split
7373
env:
7474
GOOS: ${{ matrix.GOOS }}
7575
GOARCH: ${{ matrix.GOARCH }}
76+
GOARM: 7 # Default is 6
7677
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
7778

7879
- name: Upload linux service packages
7980
if: ${{ matrix.GOOS == 'linux' && matrix.GOARCH == 'amd64' }}
8081
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
8182
with:
8283
name: linux-packages
83-
path: distributions/${{ inputs.distribution }}/dist/linux_amd64/*
84+
path: distributions/${{ inputs.distribution }}/dist/linux_amd64_v1/*
85+
if-no-files-found: error

.github/workflows/base-release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,13 @@ jobs:
8383
- uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
8484
with:
8585
distribution: goreleaser-pro
86-
version: v2.2.0
86+
version: v2.3.2
8787
workdir: distributions/${{ inputs.distribution }}
8888
args: release --clean --split --timeout 2h --release-header-tmpl=../../.github/release-template.md
8989
env:
9090
GOOS: ${{ matrix.GOOS }}
9191
GOARCH: ${{ matrix.GOARCH }}
92+
GOARM: 7 # Default is 6
9293
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
9394
COSIGN_YES: true
9495
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

0 commit comments

Comments
 (0)