Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chandanpasunoori committed Nov 6, 2022
1 parent d4aee83 commit 416f3ea
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ builds:
binary: dns-check
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
- replacements:
linux: linux
checksum:
name_template: "checksums.txt"
snapshot:
Expand All @@ -47,27 +47,11 @@ dockers:
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT
- image_templates:
- ghcr.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-arm64v8
goarch: arm64
dockerfile: Dockerfile
use: buildx
build_flag_templates:
- --platform=linux/arm64/v8
- --label=org.opencontainers.image.title={{ .ProjectName }}
- --label=org.opencontainers.image.description={{ .ProjectName }}
- --label=org.opencontainers.image.url=https://github.com/chandanpasunoori/{{ .ProjectName }}
- --label=org.opencontainers.image.source=https://github.com/chandanpasunoori/{{ .ProjectName }}
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=MIT
docker_manifests:
- name_template: ghcr.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}
image_templates:
- ghcr.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-amd64
- ghcr.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-arm64v8
- name_template: ghcr.io/chandanpasunoori/{{ .ProjectName }}:latest
image_templates:
- ghcr.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-amd64
- ghcr.io/chandanpasunoori/{{ .ProjectName }}:{{ .Version }}-arm64v8

0 comments on commit 416f3ea

Please sign in to comment.