ci: bump github.com/goreleaser/goreleaser to v2.0.0 (#6887)

This commit is contained in:
DmitriyLewen
2024-06-10 13:39:02 +06:00
committed by GitHub
parent 9b31697274
commit 1bdc135fe7
4 changed files with 8 additions and 4 deletions

View File

@@ -98,9 +98,9 @@ jobs:
mkdir tmp mkdir tmp
- name: GoReleaser - name: GoReleaser
uses: goreleaser/goreleaser-action@v5 uses: goreleaser/goreleaser-action@v6
with: with:
version: v1.20.0 version: v2.0.0
args: release -f=${{ inputs.goreleaser_config}} ${{ inputs.goreleaser_options}} args: release -f=${{ inputs.goreleaser_config}} ${{ inputs.goreleaser_options}}
env: env:
GITHUB_TOKEN: ${{ secrets.ORG_REPO_TOKEN }} GITHUB_TOKEN: ${{ secrets.ORG_REPO_TOKEN }}

View File

@@ -213,7 +213,7 @@ jobs:
fi fi
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5 uses: goreleaser/goreleaser-action@v6
with: with:
version: v1.20.0 version: v2.0.0
args: build --snapshot --clean --timeout 90m ${{ steps.goreleaser_id.outputs.id }} args: build --snapshot --clean --timeout 90m ${{ steps.goreleaser_id.outputs.id }}

View File

@@ -1,3 +1,5 @@
version: 2
project_name: trivy_canary_build project_name: trivy_canary_build
builds: builds:
- -

View File

@@ -1,3 +1,5 @@
version: 2
project_name: trivy project_name: trivy
builds: builds:
- id: build-linux - id: build-linux