Skip to content

Commit

Permalink
fix: docker multi arch support in sem rel ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ivelin committed Nov 15, 2019
1 parent bb24b0e commit edc1846
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit edc1846

Please sign in to comment.