Skip to content

Commit 41718f6

Browse files
khasselKristjanESPERANTO
authored andcommitted
container: fix auth with base64 -w 0
1 parent 2d0d5d5 commit 41718f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/container-build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: |
2626
# registry credentials
2727
export DOCKER_CONFIG="$(pwd)/container"
28-
echo "{\"auths\":{\"ghcr.io\":{\"auth\":\"$(echo -n ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} | base64)\"}}}" > $DOCKER_CONFIG/config.json
28+
echo "{\"auths\":{\"ghcr.io\":{\"auth\":\"$(echo -n ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }} | base64 -w 0)\"}}}" > $DOCKER_CONFIG/config.json
2929
# ugly workaround for converting content of $GITHUB_REPOSITORY (= `MagicMirrorOrg/MagicMirror-3rd-Party-Modules`)
3030
REPO="$(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]')"
3131
# build

0 commit comments

Comments
 (0)