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