Skip to content

Commit

Permalink
fix: deploy-insiders to login to private registry after docker install
Browse files Browse the repository at this point in the history
  • Loading branch information
danh91 authored Jan 2, 2025
1 parent bcac917 commit 73ec9e8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/deploy-insiders
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ if [ -z "$GITHUB_TOKEN" ]; then
export GITHUB_TOKEN
fi

echo $GITHUB_TOKEN | docker login ghcr.io -u USERNAME --password-stdin

if ! [ -z "$1" ]; then
export KARRIO_TAG=$1
else
Expand Down Expand Up @@ -142,6 +140,9 @@ sudo chmod +x /usr/local/bin/docker-compose
# enable docker without sudo
sudo usermod -aG docker "${USER}" || true

# login to docker private registry
echo $GITHUB_TOKEN | docker login ghcr.io -u USERNAME --password-stdin

# start up the stack
echo "Configuring Docker Compose...."
rm -f docker-compose.yml
Expand Down

0 comments on commit 73ec9e8

Please sign in to comment.