Skip to content

Commit

Permalink
linux only build
Browse files Browse the repository at this point in the history
  • Loading branch information
chandanpasunoori committed Dec 6, 2021
1 parent b6477a7 commit c43b2a1
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,11 @@ builds:
binary: event-sync
goos:
- linux
- windows
- darwin
goarch:
- amd64
- arm64
archives:
- replacements:
darwin: darwin
linux: linux
windows: windows
amd64: amd64
checksum:
name_template: "checksums.txt"
snapshot:
Expand All @@ -53,28 +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 c43b2a1

Please sign in to comment.