7 - sudo apt-get -y install qemu-user-static
8 - sudo -E docker login -u="${DOCKER_USERNAME}" -p="${DOCKER_PASSWORD}"
9 - (cd .. && git clone https://github.com/estesp/manifest-tool)
10 - (cd ../manifest-tool && git checkout v0.9.0)
11 - (cd ../manifest-tool && sudo -E make && sudo -E make install)
15 - stage: build xtesting images
16 script: sudo -E bash build.sh
18 - REPO="${DOCKER_USERNAME}"
20 - script: sudo -E bash build.sh
22 - REPO="${DOCKER_USERNAME}"
24 - script: sudo -E bash build.sh
26 - REPO="${DOCKER_USERNAME}"
28 - stage: publish xtesting manifests
30 sudo manifest-tool push from-args \
31 --platforms linux/amd64,linux/arm,linux/arm64 \
32 --template ${DOCKER_USERNAME}/xtesting:ARCH-hunter \
33 --target ${DOCKER_USERNAME}/xtesting:hunter