File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,9 @@ before_install:
31
31
- sudo apt-get -y install python3-pip python3-setuptools apache2-utils python3-venv
32
32
- wget https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/116.0.5845.96/linux64/chromedriver-linux64.zip
33
33
- unzip chromedriver-linux64.zip -d $HOME/.local/bin
34
+ - mkdir -vp ~/.docker/cli-plugins/
35
+ - curl --silent -L "https://github.com/docker/buildx/releases/download/v0.11.2/buildx-v0.11.2.linux-amd64" > ~/.docker/cli-plugins/docker-buildx
36
+ - chmod a+x ~/.docker/cli-plugins/docker-buildx
34
37
install :
35
38
- pip3 install -r requirements.txt
36
39
- pip3 install pyasn1 --upgrade
Original file line number Diff line number Diff line change 19
19
DOCKER_TAG=" $TRAVIS_BRANCH "
20
20
fi
21
21
22
+ docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
23
+
22
24
docker login -u " $DOCKER_USER " -p " $DOCKER_PASSWORD "
23
25
24
- docker build -f tools/Dockerfile -t " $IMAGE_NAME " :" $DOCKER_TAG " .
26
+ docker buildx create --use
27
+ docker buildx build --platform linux/amd64,linux/arm64 --push -f tools/Dockerfile -t " $IMAGE_NAME " :" $DOCKER_TAG " .
25
28
26
29
echo " NEW_GIT_TAG=$NEW_GIT_TAG "
27
30
if [ ! -z " $NEW_GIT_TAG " ]; then
28
31
docker tag " $IMAGE_NAME " :" $DOCKER_TAG " " $IMAGE_NAME " :" $NEW_GIT_TAG "
32
+ docker push " $IMAGE_NAME " :" $NEW_GIT_TAG "
29
33
fi
30
-
31
- docker push --all-tags " $IMAGE_NAME "
You can’t perform that action at this time.
0 commit comments