diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3fc98dfdc..f377d767c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,17 +18,10 @@ jobs: with: go-version: 1.18 cache: true - - name: Import GPG key - id: import_gpg - uses: hashicorp/ghaction-import-gpg@v2.1.0 - env: - GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3.1.0 with: version: latest args: release --rm-dist env: - GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8f21dbb70..a5a886384 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -15,12 +15,7 @@ builds: - darwin goarch: - amd64 - - '386' - - arm - arm64 - ignore: - - goos: darwin - goarch: '386' binary: '{{ .ProjectName }}_v{{ .Version }}' archives: - format: zip @@ -30,15 +25,6 @@ checksum: algorithm: sha256 snapshot: name_template: '{{ incpatch .Version }}-devel' -# signs: -# - artifacts: checksum -# args: -# - "--local-user" -# - "{{ .Env.GPG_FINGERPRINT }}" -# - "--output" -# - "${signature}" -# - "--detach-sign" -# - "${artifact}" changelog: sort: asc filters: