forked from gorb/backend
ci: install podman container engine
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed
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
|
- name: rust-build
|
||||||
image: rust:bookworm
|
image: rust:bookworm
|
||||||
commands:
|
commands:
|
||||||
|
- apt update && apt install podman
|
||||||
- cargo install cross
|
- cargo install cross
|
||||||
- cargo build --release
|
- cargo build --release
|
||||||
- cross build --target aarch64-unknown-linux-gnu --release
|
- cross build --target aarch64-unknown-linux-gnu --release
|
||||||
environment:
|
environment:
|
||||||
|
CROSS_CONTAINER_ENGINE: "podman"
|
||||||
CROSS_CONTAINER_IN_CONTAINER: "true"
|
CROSS_CONTAINER_IN_CONTAINER: "true"
|
||||||
volumes:
|
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
|
- name: container-build-and-publish
|
||||||
image: docker
|
image: docker
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue