drone-test/.drone.yml
Jacob Kiers a8de9bace7
All checks were successful
continuous-integration/drone/push Build is passing
Fix sock
2022-08-11 20:49:15 +00:00

43 lines
782 B
YAML

---
kind: pipeline
name: default
platfomr:
arch: amd64
steps:
- name: test
image: img.kie.rs/jjkiers/rust-dind-cross:1.62-slim
volumes:
- name: dockersock
path: /var/run
commands:
- cargo check
- while ! docker image ls; do sleep 1; done
- cross build --release --target aarch64-unknown-linux-gnu
- ls -lahR target/
environment:
CROSS_REMOTE: true
# DOCKER_REGISTRY:
# from_secret: docker-registry-url
# DOCKER_USERNAME:
# from_secret: docker-registry-username
# DOCKER_PASSWORD:
# from_secret: docker-registry-password
services:
- name: docker
image: docker:dind
privileged: true
volumes:
- name: dockersock
path: /var/run
volumes:
- name: dockersock
temp: {}
image_pull_secrets:
- docker_private_repo