project_name: ionscale before: hooks: - go mod tidy builds: - main: ./cmd/ionscale env: [ CGO_ENABLED=0 ] goos: - linux - windows - darwin goarch: - amd64 - arm64 ignore: - goos: windows goarch: arm64 ldflags: - -s -w -X github.com/jsiebens/ionscale/internal/version.Version={{.Version}} -X github.com/jsiebens/ionscale/internal/version.Revision={{.ShortCommit}} checksum: name_template: "checksums.txt" dockers: - image_templates: [ "ghcr.io/jsiebens/{{ .ProjectName }}:{{ .Version }}-amd64" ] dockerfile: Dockerfile use: buildx build_flag_templates: - --platform=linux/amd64 - image_templates: [ "ghcr.io/jsiebens/{{ .ProjectName }}:{{ .Version }}-arm64" ] goarch: arm64 dockerfile: Dockerfile use: buildx build_flag_templates: - --platform=linux/arm64 docker_manifests: - name_template: ghcr.io/jsiebens/{{ .ProjectName }}:{{ .Version }} image_templates: - ghcr.io/jsiebens/{{ .ProjectName }}:{{ .Version }}-amd64 - ghcr.io/jsiebens/{{ .ProjectName }}:{{ .Version }}-arm64 - name_template: ghcr.io/jsiebens/{{ .ProjectName }}:latest image_templates: - ghcr.io/jsiebens/{{ .ProjectName }}:{{ .Version }}-amd64 - ghcr.io/jsiebens/{{ .ProjectName }}:{{ .Version }}-arm64 signs: - cmd: cosign env: - COSIGN_EXPERIMENTAL=1 certificate: '${artifact}.pem' args: - sign-blob - '--output-certificate=${certificate}' - '--output-signature=${signature}' - '${artifact}' - '--yes' artifacts: checksum docker_signs: - cmd: cosign env: - COSIGN_EXPERIMENTAL=1 artifacts: all output: true args: - sign - '${artifact}' - '--yes' archives: - format: binary name_template: '{{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}' release: prerelease: auto changelog: sort: asc filters: exclude: - '^test:' - '^chore' - '^docs' - Merge pull request - Merge remote-tracking branch - Merge branch - go mod tidy groups: - title: 'New Features' regexp: "^.*feat[(\\w)]*:+.*$" order: 0 - title: 'Bug fixes' regexp: "^.*fix[(\\w)]*:+.*$" order: 10 - title: Other work order: 999