1
0
Fork 0
forked from gorb/backend

ci: install podman container engine
Some checks failed
ci/woodpecker/push/build-and-publish Pipeline failed

This commit is contained in:
Radical 2025-06-01 19:42:47 +02:00
parent d3ae5dc91f
commit 42f281b3e9

View file

@ -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: