From 928faaa3d6a698bc2950ae544ddb1081d024a757 Mon Sep 17 00:00:00 2001 From: Sergio Maria Matone Date: Mon, 1 Jul 2024 12:12:44 +0200 Subject: [PATCH] building in goreleaser --- .github/goreleaser.yaml | 28 ++++++++++++++-------------- .github/workflows/release-binary.yml | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/goreleaser.yaml b/.github/goreleaser.yaml index 03099e5..6479ca9 100644 --- a/.github/goreleaser.yaml +++ b/.github/goreleaser.yaml @@ -31,20 +31,6 @@ archives: - LICENSE - README.md -# signs: -# - cmd: cosign -# env: -# - COSIGN_EXPERIMENTAL=1 -# certificate: '${artifact}.pem' -# args: -# - sign-blob -# - '--output-certificate=${certificate}' -# - '--output-signature=${signature}' -# - '${artifact}' -# - "--yes" # needed on cosign 2.0.0+ -# artifacts: checksum -# output: true - # dockers: # # https://goreleaser.com/customization/docker/ # - use: buildx @@ -110,6 +96,20 @@ archives: # extra_files: # - scripts +# signs: +# - cmd: cosign +# env: +# - COSIGN_EXPERIMENTAL=1 +# certificate: '${artifact}.pem' +# args: +# - sign-blob +# - '--output-certificate=${certificate}' +# - '--output-signature=${signature}' +# - '${artifact}' +# - "--yes" # needed on cosign 2.0.0+ +# artifacts: checksum +# output: true + # docker_manifests: # # https://goreleaser.com/customization/docker_manifest/ # - name_template: ghcr.io/gnolang/{{ .ProjectName }}:{{ .Version }} diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index a6d09b9..ec4de6f 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -41,6 +41,6 @@ jobs: uses: goreleaser/goreleaser-action@v6 with: version: latest - args: release --clean --config ./.github/goreleaser.yaml + args: build --clean --config ./.github/goreleaser.yaml env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"