Skip to content

Commit

Permalink
docker build login container registry update
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriipavlov committed Jun 24, 2024
1 parent 8d8591e commit 2cefec1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sh/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ if [ "$MODE" == "push" ]; then

# Step 1: Login to GitHub Container Registry (GHCR)

#export CR_PAT=YOUR_TOKEN
echo "$GHCR_TOKEN" | docker login ghcr.io -u USERNAME --password-stdin
echo -e "${CYAN}[Info]${NOCOLOR} Use your PAT and 'USERNAME' placeholder to login to Container Registry ${NOCOLOR} "
#docker login ghcr.io -u USERNAME -p "$GHCR_TOKEN"
docker login ghcr.io

# Step 2: Create a New Builder Instance

Expand Down

0 comments on commit 2cefec1

Please sign in to comment.