use absolute path for container policy
Some checks failed
Podman Rootless Demo / test-backend (push) Failing after 42s
Some checks failed
Podman Rootless Demo / test-backend (push) Failing after 42s
This commit is contained in:
parent
f1e2b688a5
commit
1b2a1608f3
1 changed files with 3 additions and 3 deletions
|
|
@ -64,13 +64,13 @@ jobs:
|
||||||
--cache-to "$CACHE_REPO" \
|
--cache-to "$CACHE_REPO" \
|
||||||
--cache-from "$CACHE_REPO" \
|
--cache-from "$CACHE_REPO" \
|
||||||
--target deps \
|
--target deps \
|
||||||
--signature-policy ~/.config/containers/policy-ci.json \
|
--signature-policy /home/ci-service/.config/containers/policy-ci.json \
|
||||||
-f backend/Dockerfile.test-rust \
|
-f backend/Dockerfile.test-rust \
|
||||||
-t "$PREBUILT_BACKEND_TEST_IMAGE:deps-${{ steps.cache-key.outputs.cache_key }}" \
|
-t "$PREBUILT_BACKEND_TEST_IMAGE:deps-${{ steps.cache-key.outputs.cache_key }}" \
|
||||||
--layers
|
--layers
|
||||||
|
|
||||||
podman --remote push \
|
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 }}"
|
"$PREBUILT_BACKEND_TEST_IMAGE:deps-${{ steps.cache-key.outputs.cache_key }}"
|
||||||
|
|
||||||
- name: Build full test image with cached dependencies
|
- name: Build full test image with cached dependencies
|
||||||
|
|
@ -80,7 +80,7 @@ jobs:
|
||||||
--layers \
|
--layers \
|
||||||
--cache-from "$CACHE_REPO" \
|
--cache-from "$CACHE_REPO" \
|
||||||
--target runner \
|
--target runner \
|
||||||
--signature-policy ~/.config/containers/policy-ci.json \
|
--signature-policy /home/ci-service/.config/containers/policy-ci.json \
|
||||||
-f backend/Dockerfile.test-rust \
|
-f backend/Dockerfile.test-rust \
|
||||||
-t "$PREBUILT_BACKEND_TEST_IMAGE:test-${{ github.sha }}" \
|
-t "$PREBUILT_BACKEND_TEST_IMAGE:test-${{ github.sha }}" \
|
||||||
.
|
.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue