mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-20 14:49:41 -05:00
27 lines
694 B
YAML
27 lines
694 B
YAML
# Fast build configuration for development/PR builds
|
|
# Only builds for the most common platforms to provide quick feedback
|
|
builds:
|
|
- env:
|
|
- CGO_ENABLED=0
|
|
mod_timestamp: "{{ .CommitTimestamp }}"
|
|
flags:
|
|
- -trimpath
|
|
ldflags:
|
|
- "-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
|
|
goos:
|
|
- linux
|
|
- darwin
|
|
goarch:
|
|
- amd64
|
|
- arm64
|
|
binary: "{{ .ProjectName }}_v{{ .Version }}"
|
|
archives:
|
|
- format: zip
|
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
|
checksum:
|
|
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA256SUMS"
|
|
algorithm: sha256
|
|
release:
|
|
disable: true
|
|
changelog:
|
|
skip: true
|