1
0
Fork 0

Work around a bug in podman-login action
Some checks failed
/ Build oci-builder ver4a-compat (push) Failing after 38s

This commit is contained in:
ver4a 2025-04-15 14:20:41 +02:00
parent 92bdbbf4e4
commit 31baae3a80
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View file

@ -17,6 +17,8 @@ ENV REGISTRY_AUTH_FILE=/builder/.config/containers/auth.json
# This is a workaround for https://github.com/containers/podman/issues/23818, apart from that it serves absolutely no purpose. I also don't know why it looks there, given HOME is elsewhere, but it doesn't seem to cause any issues. # This is a workaround for https://github.com/containers/podman/issues/23818, apart from that it serves absolutely no purpose. I also don't know why it looks there, given HOME is elsewhere, but it doesn't seem to cause any issues.
RUN mkdir /.config && chown 65534:65534 /.config RUN mkdir /.config && chown 65534:65534 /.config
# This works around https://github.com/redhat-actions/podman-login/pull/43, until this PR is merged at least
RUN mkdir /builder/.docker
RUN mkdir /builder /builder/.config && chown -R 65534:65534 /builder RUN mkdir /builder /builder/.config && chown -R 65534:65534 /builder