| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- builds:
- - env:
- - CGO_ENABLED=0
- dir: cmd/templ
- mod_timestamp: '{{ .CommitTimestamp }}'
- flags:
- - -trimpath
- ldflags:
- - -s -w
- goos:
- - linux
- - windows
- - darwin
- checksum:
- name_template: 'checksums.txt'
- signs:
- - id: checksums
- cmd: cosign
- stdin: '{{ .Env.COSIGN_PASSWORD }}'
- output: true
- artifacts: checksum
- args:
- - sign-blob
- - --yes
- - --key
- - env://COSIGN_PRIVATE_KEY
- - '--output-certificate=${certificate}'
- - '--output-signature=${signature}'
- - '${artifact}'
- archives:
- - format: tar.gz
- name_template: >-
- {{ .ProjectName }}_
- {{- title .Os }}_
- {{- if eq .Arch "amd64" }}x86_64
- {{- else if eq .Arch "386" }}i386
- {{- else }}{{ .Arch }}{{ end }}
- {{- if .Arm }}v{{ .Arm }}{{ end }}
- kos:
- - repository: ghcr.io/a-h/templ
- platforms:
- - linux/amd64
- - linux/arm64
- tags:
- - latest
- - '{{.Tag}}'
- bare: true
- docker_signs:
- - cmd: cosign
- artifacts: all
- output: true
- args:
- - sign
- - --yes
- - --key
- - env://COSIGN_PRIVATE_KEY
- - '${artifact}'
- snapshot:
- name_template: "{{ incpatch .Version }}-next"
- changelog:
- sort: asc
- filters:
- exclude:
- - '^docs:'
- - '^test:'
|