Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Commit

Permalink
separate arm64 docker build (#177)
Browse files Browse the repository at this point in the history
my mistake, goarch doesn't take a list, the builds have to be separate
  • Loading branch information
Jim Sheldon authored Sep 29, 2021
1 parent 48c8947 commit fb83008
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions .goreleaser-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,29 @@ changelog:
dockers:
-
goos: linux
goarch:
- amd64
- arm64
goarch: amd64
goarm: ''
binaries:
- drone-cache
image_templates:
- "meltwater/drone-cache:{{ .Tag }}"
skip_push: false
dockerfile: Dockerfile
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
- "--label=version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
- "--label=org.label-schema.version={{.Version}}"
- "--label=org.label-schema.build-date={{.Date}}"
- "--label=org.label-schema.vcs-ref={{.FullCommit}}"
- "--label=org.label-schema.docker.dockerfile=Dockerfile"
- "--label=org.opencontainers.image.name={{.ProjectName}}"
- "--label=org.opencontainers.image.version={{.Version}}"
- "--label=org.opencontainers.image.created={{.Date}}"
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
-
goos: linux
goarch: arm64
goarm: ''
binaries:
- drone-cache
Expand All @@ -94,6 +114,7 @@ dockers:
skip_push: false
dockerfile: Dockerfile
build_flag_templates:
- "--platform=linux/arm64/v8"
- "--label=org.label-schema.schema-version=1.0"
- "--label=version={{.Version}}"
- "--label=org.label-schema.name={{.ProjectName}}"
Expand Down

0 comments on commit fb83008

Please sign in to comment.