From 6306d653a4ed1becf4af206954b2522956c876f5 Mon Sep 17 00:00:00 2001 From: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com> Date: Mon, 10 Jun 2024 13:39:02 +0600 Subject: [PATCH] ci: bump `github.com/goreleaser/goreleaser` to `v2.0.0` (#6887) --- .github/workflows/reusable-release.yaml | 4 ++-- .github/workflows/test.yaml | 4 ++-- goreleaser-canary.yml | 2 ++ goreleaser.yml | 2 ++ 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/reusable-release.yaml b/.github/workflows/reusable-release.yaml index 2305a83b2159..ecae0832b93a 100644 --- a/.github/workflows/reusable-release.yaml +++ b/.github/workflows/reusable-release.yaml @@ -98,9 +98,9 @@ jobs: mkdir tmp - name: GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: - version: v1.20.0 + version: v2.0.0 args: release -f=${{ inputs.goreleaser_config}} ${{ inputs.goreleaser_options}} env: GITHUB_TOKEN: ${{ secrets.ORG_REPO_TOKEN }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 5688c7b3f031..8ff082624f97 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -213,7 +213,7 @@ jobs: fi - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + uses: goreleaser/goreleaser-action@v6 with: - version: v1.20.0 + version: v2.0.0 args: build --snapshot --clean --timeout 90m ${{ steps.goreleaser_id.outputs.id }} diff --git a/goreleaser-canary.yml b/goreleaser-canary.yml index da395ab53e9d..79ceb30d23bc 100644 --- a/goreleaser-canary.yml +++ b/goreleaser-canary.yml @@ -1,3 +1,5 @@ +version: 2 + project_name: trivy_canary_build builds: - diff --git a/goreleaser.yml b/goreleaser.yml index 0a546162bed7..608c72abdd85 100644 --- a/goreleaser.yml +++ b/goreleaser.yml @@ -1,3 +1,5 @@ +version: 2 + project_name: trivy builds: - id: build-linux