From edc1846cd952add7378fd99d96c3273a394c4dba Mon Sep 17 00:00:00 2001 From: Ivelin Ivanov Date: Fri, 15 Nov 2019 08:26:23 -0600 Subject: [PATCH] fix: docker multi arch support in sem rel ci --- build/prepare-release.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build/prepare-release.sh b/build/prepare-release.sh index 692bb03b..2da1bfb7 100755 --- a/build/prepare-release.sh +++ b/build/prepare-release.sh @@ -12,6 +12,16 @@ echo "RELEASE_VERSION=$RELEASE_VERSION" echo "MAJOR=$MAJOR" echo "MINOR=$MAJOR.$MINOR" echo "PATCH=$PATCH" + + +# update docker to allow multi-arch manifest support +sudo apt-get update -y +sudo apt-get install --only-upgrade docker-ce -y +echo '{"experimental":true}' | sudo tee /etc/docker/daemon.json +export DOCKER_CLI_EXPERIMENTAL=enabled +sudo service docker restart +docker --version + docker login -u="$DOCKER_USER" -p="$DOCKER_PASS" docker pull "ambianic/ambianic-edge:latest"