From 1310bcee1b46c1c01ea2cd39b53803c4b6e2c4ed Mon Sep 17 00:00:00 2001 From: Sebastian Florek Date: Thu, 24 Oct 2019 12:12:38 +0200 Subject: [PATCH] Fix scraper deploy --- hack/deploy.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/hack/deploy.sh b/hack/deploy.sh index 8e073dc..c09d497 100755 --- a/hack/deploy.sh +++ b/hack/deploy.sh @@ -9,25 +9,25 @@ for i in ${arch_list}; do # If it's a tagged release, use the tag # Otherwise, assume it's HEAD and push to latest container="${manifest}-${i}:${TRAVIS_TAG:="latest"}" - + echo "--- docker build --no-cache --build-arg GOARCH=${i} -t ${container} ."; docker build --no-cache --build-arg GOARCH=${i} -t ${container} . echo "--- docker push ${container}" docker push ${container} - + manifest_list="${manifest_list} ${container}" done; -echo "--- docker manifest create --amend ${manifest} ${manifest_list}" -docker manifest create --amend ${manifest} ${manifest_list} +echo "--- docker manifest create --amend ${manifest}:${TRAVIS_TAG:="latest"} ${manifest_list}" +docker manifest create --amend ${manifest}:${TRAVIS_TAG:="latest"} ${manifest_list} for i in ${arch_list}; do container="${manifest}-${i}:${TRAVIS_TAG:="latest"}" - echo "--- docker manifest annotate ${manifest} ${container} --os linux --arch ${i}" - docker manifest annotate ${manifest} ${container} --os linux --arch ${i} + echo "--- docker manifest annotate ${manifest}:${TRAVIS_TAG:="latest"} ${container} --os linux --arch ${i}" + docker manifest annotate ${manifest}:${TRAVIS_TAG:="latest"} ${container} --os linux --arch ${i} done; -echo "--- docker manifest push ${manifest}" -docker manifest push ${manifest} +echo "--- docker manifest push ${manifest}:${TRAVIS_TAG:="latest"}" +docker manifest push ${manifest}:${TRAVIS_TAG:="latest"}