Skip to content

Commit

Permalink
Adding deb, rpm and apk packaging to goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Schlögel committed Apr 11, 2021
1 parent 8a98b08 commit 6cd5f69
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,17 @@ brews:
nfpms:
- id: packages
file_name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
license: Apache 2.0
formats:
- apk
- deb
- rpm
dependencies:
- git
- go
publishers:
- name: fury.io
ids:
- packages
dir: "{{ dir .ArtifactPath }}"
cmd: curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@push.fury.io/netdevops/
cmd: curl -F package=@{{ .ArtifactName }} https://{{ .Env.FURY_TOKEN }}@apt.fury.io/niklasschloegel/

0 comments on commit 6cd5f69

Please sign in to comment.