Skip to content

Commit

Permalink
feat: use ko and publish multiarch images
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsol committed May 30, 2023
1 parent 5461d2f commit 4571f57
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ changelog:
- '^docs:'
- '^test:'

dockers:
- image_templates:
- "ghcr.io/vilsol/yeet:{{ .Tag }}"
- "ghcr.io/vilsol/yeet:v{{ .Major }}"
- "ghcr.io/vilsol/yeet:v{{ .Major }}.{{ .Minor }}"
- "ghcr.io/vilsol/yeet:latest"
build_flag_templates:
- "--pull"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.title={{.ProjectName}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
- "--label=org.opencontainers.image.version={{.Version}}"
kos:
- repository: ghcr.io/vilsol/yeet
tags:
- "{{ .Tag }}"
- "v{{ .Major }}"
- "v{{ .Major }}.{{ .Minor }}"
- "latest"
bare: true
platforms:
- linux/amd64
- linux/arm64
- linux/armv7

0 comments on commit 4571f57

Please sign in to comment.