kind: pipeline type: docker name: amd64 platform: os: linux arch: amd64 steps: - name: build image: simon987/ubuntu_ci commands: - ./ci/build.sh - name: scp files image: appleboy/drone-scp settings: host: from_secret: SSH_HOST port: from_secret: SSH_PORT user: from_secret: SSH_USER key: from_secret: SSH_KEY target: /files/sist2/${DRONE_REPO_OWNER}_${DRONE_REPO_NAME}/${DRONE_BRANCH}_${DRONE_BUILD_NUMBER}_${DRONE_COMMIT}/ source: - ./sist2.gz - ./sist2_debug.tar.gz --- kind: pipeline type: docker name: arm64 platform: arch: arm64 steps: - name: build image: simon987/ubuntu_ci_arm commands: - ./ci/build_arm64.sh - name: scp files image: appleboy/drone-scp settings: host: from_secret: SSH_HOST port: from_secret: SSH_PORT user: from_secret: SSH_USER key: from_secret: SSH_KEY target: /files/sist2/${DRONE_REPO_OWNER}_${DRONE_REPO_NAME}/${DRONE_BRANCH}_${DRONE_BUILD_NUMBER}_${DRONE_COMMIT}/ source: - ./sist2_arm64.gz