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

Commit 2367752

Browse files
committed
Build docker image for multiple arch/os
1 parent e5e24e2 commit 2367752

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.goreleaser.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ builds:
2323
goarm:
2424
- 6
2525
- 7
26+
ignore:
27+
- goos: darwin
28+
goarch: 386
2629
env:
2730
- CGO_ENABLED=0
2831
flags:
@@ -33,9 +36,6 @@ builds:
3336
-X main.Version={{.Version}}
3437
-X main.Commit={{.ShortCommit}}
3538
-X main.Date={{.Date}}
36-
ignore:
37-
- goos: darwin
38-
goarch: 386
3939
hooks:
4040
# Ignores failures, this is just best effort. Alternative: find target/dist -name drone-cache -type f -exec upx {} +
4141
post: find target/dist -name drone-cache -type f -print0 | xargs -n 1 -0 upx
@@ -100,7 +100,7 @@ dockers:
100100
# .Arch GOARCH (usually allow replacements)
101101
# .Arm GOARM (usually allow replacements)
102102
# .Mips GOMIPS (usually allow replacements)
103-
# TODO: Add more mirror registries
103+
# TODO: Add github docker repo
104104
# - "docker.pkg.github.com/meltwater/drone-cache/drone-cache:latest"
105105
# - "docker.pkg.github.com/meltwater/drone-cache/drone-cache:{{ .Tag }}"
106106
# - "docker.pkg.github.com/meltwater/drone-cache/drone-cache:v{{ .Major }}.{{ .Minor }}"

0 commit comments

Comments
 (0)