diff --git a/.devcontainer/tools/create-ghcr-regcred.sh b/.devcontainer/tools/create-ghcr-regcred.sh index 3165eae..a1f1c50 100644 --- a/.devcontainer/tools/create-ghcr-regcred.sh +++ b/.devcontainer/tools/create-ghcr-regcred.sh @@ -42,6 +42,6 @@ if [[ -z $gh_username || -z $gh_token ]]; then fi set -e -b64_enc_regcred=$(echo -n "$gh_username:$gh_token" | base64) +b64_enc_regcred=$(echo -n "$gh_username:$gh_token" | base64 -w0) -echo "{\"auths\":{\"ghcr.io\":{\"auth\":\"$b64_enc_regcred\"}}}" \ No newline at end of file +echo -n "{\"auths\":{\"ghcr.io\":{\"auth\":\"$b64_enc_regcred\"}}}"