chore: Copy signing keys to /etc/ only (#288)

Supplements main PR: https://github.com/blue-build/modules/pull/375

Tests & it works, can be merged.
This commit is contained in:
fiftydinar 2024-12-08 23:07:48 +01:00 committed by GitHub
parent a8cac2adc9
commit 273d8795b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,9 +26,7 @@ ARG RUST_LOG_STYLE=always
# Key RUN
RUN --mount=type=bind,from=stage-keys,src=/keys,dst=/tmp/keys \
mkdir -p /etc/pki/containers/ \
mkdir -p /usr/etc/pki/containers/ \
&& cp /tmp/keys/* /etc/pki/containers/ \
&& cp /tmp/keys/* /usr/etc/pki/containers/ \
&& ostree container commit
# Bin RUN