From 734370bd4ec6c443e9688a11a033e8b8e008731b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pi=C4=85tkowski?= Date: Mon, 29 May 2023 15:58:04 +0200 Subject: [PATCH] goreleaser config changes --- .github/workflows/release.yaml | 2 +- .goreleaser.yml | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a4a461a..45c7c51 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,6 +46,6 @@ jobs: uses: goreleaser/goreleaser-action@f82d6c1c344bcacabba2c841718984797f664a6b # v4.2.0 with: version: latest - args: release --release-notes=output/notes.md --skip-validate + args: release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml index 5239c5d..f098de7 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -14,8 +14,6 @@ builds: - amd64 - arm64 - arm - goarm: - - 7 - <<: *build_defaults id: windows goos: @@ -37,8 +35,8 @@ dockers: - 'ghcr.io/piontec/kube-echo:latest-amd64' dockerfile: Dockerfile use: buildx - # goos: linux - # goarch: amd64 + goos: linux + goarch: amd64 build_flag_templates: - "--pull" - "--label=org.opencontainers.image.created={{ .Date }}" @@ -52,8 +50,8 @@ dockers: - 'ghcr.io/piontec/kube-echo:latest-arm64' dockerfile: Dockerfile use: buildx - # goos: linux - # goarch: arm64 + goos: linux + goarch: arm64 build_flag_templates: - "--pull" - "--label=org.opencontainers.image.created={{ .Date }}" @@ -67,8 +65,8 @@ dockers: - 'ghcr.io/piontec/kube-echo:latest-arm' dockerfile: Dockerfile use: buildx - # goos: linux - # goarch: arm + goos: linux + goarch: arm build_flag_templates: - "--pull" - "--label=org.opencontainers.image.created={{ .Date }}" @@ -100,6 +98,7 @@ docker_signs: output: true source: enabled: true + rlcp: true name_template: '{{ .ProjectName }}_{{ .Version }}_src' sboms: - artifacts: archive @@ -124,4 +123,3 @@ signs: output: true changelog: use: github - skip: true