This commit is contained in:
parent
30953a0774
commit
4d34046992
45
.drone.yml
45
.drone.yml
@ -14,29 +14,26 @@ steps:
|
||||
commands:
|
||||
- cargo check
|
||||
- apt-get update && apt-get install -y podman
|
||||
# - apt-get update && apt-get install -y ca-certificates curl gnupg lsb-release
|
||||
# - mkdir -p /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
# - 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
|
||||
# - apt-get update && apt-get install -y docker-ce-cli
|
||||
# - docker info
|
||||
# - docker image list
|
||||
- echo 'unqualified-search-registries = ["docker.io"]' >> /etc/containers/registries.conf
|
||||
- echo "[storage]\ndriver = \"vfs\"" >> /etc/containers/storage.conf
|
||||
- podman info
|
||||
- mount
|
||||
- podman run --rm hello-world
|
||||
# - cargo install cross --git https://github.com/cross-rs/cross
|
||||
# - cross build --release --target aarch64-unknown-linux-gnu
|
||||
# - ls -lahR target/
|
||||
- apt-get update && apt-get install -y ca-certificates curl gnupg lsb-release
|
||||
- mkdir -p /etc/apt/keyrings && curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
||||
- 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
|
||||
- apt-get update && apt-get install -y docker-ce-cli
|
||||
- docker info
|
||||
- set
|
||||
- export CROSS_DOCKER_IN_DOCKER=true
|
||||
- set
|
||||
- cargo install cross --git https://github.com/cross-rs/cross
|
||||
- cross build --release --target aarch64-unknown-linux-gnu
|
||||
- ls -lahR target/
|
||||
|
||||
# services:
|
||||
# - name: docker
|
||||
# image: docker:dind
|
||||
# privileged: true
|
||||
# volumes:
|
||||
# - name: dockersock
|
||||
# path: /var/run
|
||||
services:
|
||||
- name: docker
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
|
||||
# volumes:
|
||||
# - name: dockersock
|
||||
# temp: {}
|
||||
volumes:
|
||||
- name: dockersock
|
||||
temp: {}
|
||||
|
Loading…
Reference in New Issue
Block a user