Skip to content

Commit

Permalink
building in goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
sw360cab committed Jul 1, 2024
1 parent 1295d48 commit 928faaa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions .github/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit 928faaa

Please sign in to comment.