diff options
author | 2017-12-21 15:34:19 +0000 | |
---|---|---|
committer | 2017-12-21 10:34:19 -0500 | |
commit | 0221f3d83cf81563573c5d0c83ef700a89e13fb2 (patch) | |
tree | 34e61da52bbc90158d8e7865f29bfc8c2ab5b5f4 /plugin/kubernetes/kubernetes.go | |
parent | a8ba24fff924d6206f2e24ba843d059018bc6dd0 (diff) | |
download | coredns-0221f3d83cf81563573c5d0c83ef700a89e13fb2.tar.gz coredns-0221f3d83cf81563573c5d0c83ef700a89e13fb2.tar.zst coredns-0221f3d83cf81563573c5d0c83ef700a89e13fb2.zip |
Makefile.release: allow for other docker registries (#1324)
Default to empty DOCKER var so you wont accidently push to the
production dockerhub. But allow to be overriden to you can push
to your registry. This allows you to re-use the CoreDNS makefiles for
your internal CI/CD.
Hacked Makefile with echos:
make DOCKER=bla -f Makefile.release docker-push
Pushing: 1.0.1
for arch in amd64 arm arm64 ppc64le s390x; do \
echo docker push bla/coredns:coredns-$arch ;\
done
docker push bla/coredns:coredns-amd64
docker push bla/coredns:coredns-arm
docker push bla/coredns:coredns-arm64
docker push bla/coredns:coredns-ppc64le
docker push bla/coredns:coredns-s390x
echo manifest-tool push from-args --platforms linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x --template bla/coredns:coredns-ARCH --target bla/coredns:1.0.1
manifest-tool push from-args --platforms linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x --template bla/coredns:coredns-ARCH --target bla/coredns:1.0.1
echo manifest-tool push from-args --platforms linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x --template bla/coredns:coredns-ARCH --target bla/coredns:latest
manifest-tool push from-args --platforms linux/amd64,linux/arm,linux/arm64,linux/ppc64le,linux/s390x --template bla/coredns:coredns-ARCH --target bla/coredns:latest
Diffstat (limited to 'plugin/kubernetes/kubernetes.go')
0 files changed, 0 insertions, 0 deletions