Don't cache container image layers to avoid policy issues
Some checks failed
Podman Rootless Demo / test-backend (push) Failing after 49s

This commit is contained in:
continuist 2025-09-19 19:16:32 -04:00
parent 024e7e6f5d
commit 7a00e27df9

View file

@ -64,7 +64,8 @@ jobs:
- name: Build optimized Rust test image (if needed) - name: Build optimized Rust test image (if needed)
if: steps.check-deps.outputs.rebuild_needed == 'true' if: steps.check-deps.outputs.rebuild_needed == 'true'
run: | run: |
podman --remote build \ # Build without caching to avoid policy issues
podman --remote build --no-cache \
-f backend/Dockerfile.test-rust \ -f backend/Dockerfile.test-rust \
-t "$PREBUILT_BACKEND_TEST_IMAGE:${{ steps.check-deps.outputs.deps_hash }}" \ -t "$PREBUILT_BACKEND_TEST_IMAGE:${{ steps.check-deps.outputs.deps_hash }}" \
-t "$PREBUILT_BACKEND_TEST_IMAGE:latest" -t "$PREBUILT_BACKEND_TEST_IMAGE:latest"