Skip to content

Commit 02ce462

Browse files
authored
Merge pull request #1 from k7hpn/fix/ghcr-user-bug
Fix bug with GHCR authentication
2 parents fa520ef + c6cdbee commit 02ce462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ if [[ $BLD_PUSH = true ]]; then
244244
msg "${BLUE}===${NOFORMAT} Pushing image to ghcr.io/${ghcrowner}/${BLD_DOCKER_IMAGE}"
245245
docker tag "${BLD_FULL_DOCKER_IMAGE}" "ghcr.io/${ghcrowner}/${BLD_DOCKER_IMAGE}"
246246
echo "$GHCR_PAT" | \
247-
docker login ghcr.io -u "$dockeruser" --password-stdin || exit $?
247+
docker login ghcr.io -u "${ghcruser}" --password-stdin || exit $?
248248
docker push "ghcr.io/${ghcrowner}/${BLD_DOCKER_IMAGE}"
249249

250250
if [[ $BLD_RELEASE = "true" ]]; then

0 commit comments

Comments
 (0)