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

Commit

Permalink
Build docker image for multiple arch/os
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkoyun committed Jun 11, 2020
1 parent bc64af3 commit 7be4d2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ builds:
goarm:
- 6
- 7
ignore:
- goos: darwin
goarch: 386
env:
- CGO_ENABLED=0
flags:
Expand All @@ -33,9 +36,6 @@ builds:
-X main.Version={{.Version}}
-X main.Commit={{.ShortCommit}}
-X main.Date={{.Date}}
ignore:
- goos: darwin
goarch: 386
hooks:
# Ignores failures, this is just best effort. Alternative: find target/dist -name drone-cache -type f -exec upx {} +
post: find target/dist -name drone-cache -type f -print0 | xargs -n 1 -0 upx
Expand Down Expand Up @@ -101,7 +101,7 @@ dockers:
# .Arch GOARCH (usually allow replacements)
# .Arm GOARM (usually allow replacements)
# .Mips GOMIPS (usually allow replacements)
# TODO: Add more mirror registries
# TODO: Add github docker repo
# - "docker.pkg.github.com/meltwater/drone-cache/drone-cache:latest"
# - "docker.pkg.github.com/meltwater/drone-cache/drone-cache:{{ .Tag }}"
# - "docker.pkg.github.com/meltwater/drone-cache/drone-cache:v{{ .Major }}.{{ .Minor }}"
Expand Down

0 comments on commit 7be4d2f

Please sign in to comment.