ci: install podman container engine
This commit is contained in:
parent
d3ae5dc91f
commit
42f281b3e9
1 changed files with 3 additions and 1 deletions
|
@ -6,13 +6,15 @@ steps:
|
|||
- name: rust-build
|
||||
image: rust:bookworm
|
||||
commands:
|
||||
- apt update && apt install podman
|
||||
- cargo install cross
|
||||
- cargo build --release
|
||||
- cross build --target aarch64-unknown-linux-gnu --release
|
||||
environment:
|
||||
CROSS_CONTAINER_ENGINE: "podman"
|
||||
CROSS_CONTAINER_IN_CONTAINER: "true"
|
||||
volumes:
|
||||
- /var/run/podman/podman.sock:/var/run/docker.sock
|
||||
- /var/run/podman/podman.sock:/var/run/podman/podman.sock
|
||||
- name: container-build-and-publish
|
||||
image: docker
|
||||
commands:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue