Skip to content

Commit

Permalink
fix: token variable
Browse files Browse the repository at this point in the history
  • Loading branch information
joshjohanning committed May 17, 2024
1 parent 8433d41 commit 931c578
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ else
TARGET_CONTAINER_REGISTRY="containers.$TARGET_HOST"
fi

USER=(GH_HOST="$SOURCE_HOST" GH_TOKEN=GH_SOURCE_PAT gh api /user -q '.login')
USER=(GH_HOST="$SOURCE_HOST" GH_TOKEN=$GH_SOURCE_PAT gh api /user -q '.login')
echo $GH_SOURCE_PAT | docker login $SOURCE_CONTAINER_REGISTRY -u $USER --password-stdin
echo ""

Expand Down

0 comments on commit 931c578

Please sign in to comment.