|
|
|
@ -26,7 +26,8 @@ if [ "$ARCH" == "amd64" ]; then
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
echo "Downloading docker client with manifest command"
|
|
|
|
|
wget https://4175-88013053-gh.circle-artifacts.com/2/work/build/docker
|
|
|
|
|
wget https://3806-88013053-gh.circle-artifacts.com/1/work/build/docker-linux-amd64
|
|
|
|
|
mv docker-linux-amd64 docker
|
|
|
|
|
chmod +x docker
|
|
|
|
|
./docker version
|
|
|
|
|
|
|
|
|
@ -35,19 +36,20 @@ if [ "$ARCH" == "amd64" ]; then
|
|
|
|
|
echo "Pushing manifest $image:$TRAVIS_TAG"
|
|
|
|
|
./docker -D manifest create "$image:$TRAVIS_TAG" \
|
|
|
|
|
"$image:linux-amd64-$TRAVIS_TAG" \
|
|
|
|
|
"$image:linux-arm-$TRAVIS_TAG" \
|
|
|
|
|
"$image:linux-arm64-$TRAVIS_TAG" \
|
|
|
|
|
"$image:windows-amd64-$TRAVIS_TAG"
|
|
|
|
|
# ./docker manifest annotate "$image:$TRAVIS_TAG" "$image:linux-arm-$TRAVIS_TAG" --os linux --arch arm
|
|
|
|
|
# ./docker manifest annotate "$image:$TRAVIS_TAG" "$image:linux-arm64-$TRAVIS_TAG" --os linux --arch arm64
|
|
|
|
|
./docker manifest annotate "$image:$TRAVIS_TAG" "$image:linux-arm-$TRAVIS_TAG" --os linux --arch arm
|
|
|
|
|
./docker manifest annotate "$image:$TRAVIS_TAG" "$image:linux-arm64-$TRAVIS_TAG" --os linux --arch arm64
|
|
|
|
|
./docker -D manifest push "$image:$TRAVIS_TAG"
|
|
|
|
|
|
|
|
|
|
# "$image:linux-arm-$TRAVIS_TAG" \
|
|
|
|
|
# "$image:linux-arm64-$TRAVIS_TAG" \
|
|
|
|
|
|
|
|
|
|
echo "Pushing manifest $image:latest"
|
|
|
|
|
./docker -D manifest create "$image:latest" \
|
|
|
|
|
"$image:linux-amd64-$TRAVIS_TAG" \
|
|
|
|
|
"$image:linux-arm-$TRAVIS_TAG" \
|
|
|
|
|
"$image:linux-arm64-$TRAVIS_TAG" \
|
|
|
|
|
"$image:windows-amd64-$TRAVIS_TAG"
|
|
|
|
|
# ./docker manifest annotate "$image:latest" "$image:linux-arm-$TRAVIS_TAG" --os linux --arch arm
|
|
|
|
|
# ./docker manifest annotate "$image:latest" "$image:linux-arm64-$TRAVIS_TAG" --os linux --arch arm64
|
|
|
|
|
./docker manifest annotate "$image:latest" "$image:linux-arm-$TRAVIS_TAG" --os linux --arch arm
|
|
|
|
|
./docker manifest annotate "$image:latest" "$image:linux-arm64-$TRAVIS_TAG" --os linux --arch arm64
|
|
|
|
|
./docker manifest -D push "$image:latest"
|
|
|
|
|
fi
|
|
|
|
|