Skip to content

Commit

Permalink
ci: updates .goreleaser.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arldka committed Apr 7, 2023
1 parent 28adefd commit bbc37fc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ before:
builds:
- id: petra
binary: petra
main: ./cmd/server
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
goarch:
- amd64
- arm64

- id: petractl
binary: petractl
main: ./cmd/cli
env:
- CGO_ENABLED=0
goos:
Expand All @@ -21,6 +34,8 @@ dockers:
image_templates:
- "europe-docker.pkg.dev/orga-automation-58dl/utils/{{ .ProjectName }}:latest"
- "europe-docker.pkg.dev/orga-automation-58dl/utils/{{ .ProjectName }}:{{ .Summary }}"
- "europe-docker.pkg.dev/orga-automation-58dl/utils/{{ .ProjectName }}:v{{ .Major }}"
- "europe-docker.pkg.dev/orga-automation-58dl/utils/{{ .ProjectName }}:v{{ .Major }}.{{ .Minor }}"
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
Expand Down

0 comments on commit bbc37fc

Please sign in to comment.