Skip to content

Commit

Permalink
update container registry desc
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriipavlov committed Jul 7, 2024
1 parent e9a2c32 commit a0385d0
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions docker-compose.build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.9"

services:

composer:
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3.9"

services:

mariadb:
Expand Down
6 changes: 3 additions & 3 deletions sh/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@ fi
# Build and Push the Images to the Registry
if [ "$MODE" == "push" ]; then

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

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 -u USERNAME -p "$CR_TOKEN"
docker login ghcr.io

# Step 2: Create a New Builder Instance

CreateBuilder

# Step 3: Build and Push to GitHub Container Registry (GHCR)
# Step 3: Build and Push to Container Registry (CR)
for (( i=0; i<ARRAY_LENGTH; i++ )); do

# Check if $BUILD_SERVICE parameter exist for push only selected service
Expand Down
4 changes: 2 additions & 2 deletions sh/env/.env.secret.template
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ APP_BA_PASSWORD=generate_this_pass
#COMPOSER_AUTH={\"github-oauth\":{\"github.com\":\"ACCESS_TOKEN_GITHUB\"}}
#COMPOSER_AUTH={"github-oauth":{"github.com":"ACCESS_TOKEN_GITHUB"}}

# ghcr.io auth token for docker images push
#GHCR_TOKEN=ACCESS_TOKEN
# Container Registry auth token for docker images push
#CR_TOKEN=ACCESS_TOKEN

0 comments on commit a0385d0

Please sign in to comment.