Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Fix scraper deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Florek committed Oct 24, 2019
1 parent 008cc02 commit 1310bce
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions hack/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"}

0 comments on commit 1310bce

Please sign in to comment.