when: branch: [stage, main] labels: platform: arm64 steps: - name: build-push image: docker commands: - docker build -f Dockerfile -t localhost:5000/autopilot:${CI_COMMIT_BRANCH}-arm . - docker push localhost:5000/autopilot:${CI_COMMIT_BRANCH}-arm volumes: - /var/run/docker.sock:/var/run/docker.sock