Skip to content

Commit c6cdbee

Browse files
committed
Fix bug with GHCR authentication
- GHCR authentication was using the specified CR_USER rather than GHCR_USER.
1 parent fa520ef commit c6cdbee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)