This commit is contained in:
parent
1fa377f535
commit
661d5612ec
19
.drone.yml
19
.drone.yml
@ -13,16 +13,19 @@ steps:
|
|||||||
path: /var/run
|
path: /var/run
|
||||||
commands:
|
commands:
|
||||||
- cargo check
|
- cargo check
|
||||||
- apt-get update && apt-get install -y ca-certificates curl gnupg lsb-release
|
- set
|
||||||
- mkdir -p /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
# - apt-get update && apt-get install -y ca-certificates curl gnupg lsb-release
|
||||||
- echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" >> /etc/apt/sources.list.d/docker.list
|
# - mkdir -p /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||||
- apt-get update && apt-get install -y docker-ce-cli
|
# - echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable" >> /etc/apt/sources.list.d/docker.list
|
||||||
- docker info
|
# - apt-get update && apt-get install -y docker-ce-cli
|
||||||
- cargo install cross --git https://github.com/cross-rs/cross
|
# - docker info
|
||||||
- cross build --release --target aarch64-unknown-linux-gnu
|
# - cargo install cross --git https://github.com/cross-rs/cross
|
||||||
- ls -lahR target/
|
# - cross build --release --target aarch64-unknown-linux-gnu
|
||||||
|
# - ls -lahR target/
|
||||||
environment:
|
environment:
|
||||||
CROSS_REMOTE: true
|
CROSS_REMOTE: true
|
||||||
|
DOCKER_REGISTRY:
|
||||||
|
from_secret: docker-registry-url
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- name: docker
|
- name: docker
|
||||||
|
Loading…
Reference in New Issue
Block a user