use absolute path for container policy
Some checks failed
Podman Rootless Demo / test-backend (push) Failing after 42s

This commit is contained in:
continuist 2025-09-19 22:58:43 -04:00
parent f1e2b688a5
commit 1b2a1608f3

View file

@ -64,13 +64,13 @@ jobs:
--cache-to "$CACHE_REPO" \
--cache-from "$CACHE_REPO" \
--target deps \
--signature-policy ~/.config/containers/policy-ci.json \
--signature-policy /home/ci-service/.config/containers/policy-ci.json \
-f backend/Dockerfile.test-rust \
-t "$PREBUILT_BACKEND_TEST_IMAGE:deps-${{ steps.cache-key.outputs.cache_key }}" \
--layers
podman --remote push \
--signature-policy ~/.config/containers/policy-ci.json \
--signature-policy /home/ci-service/.config/containers/policy-ci.json \
"$PREBUILT_BACKEND_TEST_IMAGE:deps-${{ steps.cache-key.outputs.cache_key }}"
- name: Build full test image with cached dependencies
@ -80,7 +80,7 @@ jobs:
--layers \
--cache-from "$CACHE_REPO" \
--target runner \
--signature-policy ~/.config/containers/policy-ci.json \
--signature-policy /home/ci-service/.config/containers/policy-ci.json \
-f backend/Dockerfile.test-rust \
-t "$PREBUILT_BACKEND_TEST_IMAGE:test-${{ github.sha }}" \
.