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 && sudo -E make && sudo -E make install)
14 - stage: build xtesting images
15 script: sudo -E bash build.sh
17 - REPO="${DOCKER_USERNAME}"
19 - script: sudo -E bash build.sh
21 - REPO="${DOCKER_USERNAME}"
23 - stage: publish xtesting manifests
25 sudo manifest-tool push from-args \
26 --platforms linux/amd64,linux/arm64 \
27 --template ${DOCKER_USERNAME}/xtesting:ARCH-latest \
28 --target ${DOCKER_USERNAME}/xtesting:latest