Trim whitespace/newlines from registry credentials before push
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
21836741e8
commit
8b86665247
1 changed files with 3 additions and 0 deletions
|
|
@ -52,6 +52,9 @@ jobs:
|
|||
quay.io/buildah/stable:latest \
|
||||
bash -c '
|
||||
set -euo pipefail
|
||||
# Secrets pasted with stray whitespace/newlines break registry auth
|
||||
RUSER="$(printf "%s" "$RUSER" | tr -d " \r\n")"
|
||||
RTOKEN="$(printf "%s" "$RTOKEN" | tr -d " \r\n")"
|
||||
# Use the fast kernel overlay driver instead of fuse-overlayfs
|
||||
# (we are privileged, so this works — and is ~50x faster on
|
||||
# the millions of small files in the OSTree base)
|
||||
|
|
|
|||
Loading…
Reference in a new issue