From abaddffa52d708989ed5de977a3dcf47c337ac22 Mon Sep 17 00:00:00 2001 From: Anurag Mittal Date: Wed, 13 Nov 2024 13:17:50 +0000 Subject: [PATCH] try out github codespace permissions --- .devcontainer/setup-dev-container.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.devcontainer/setup-dev-container.sh b/.devcontainer/setup-dev-container.sh index 3a6604d..58010fb 100644 --- a/.devcontainer/setup-dev-container.sh +++ b/.devcontainer/setup-dev-container.sh @@ -8,8 +8,8 @@ go get github.com/onsi/gomega/... echo "Starting Minikube..." minikube start -echo "Logging into GHCR (GitHub Container Registry)..." -echo "$REPOSITORY_USER_TOKEN" | docker login ghcr.io -u "$REPOSITORY_USER" --password-stdin +# echo "Logging into GHCR (GitHub Container Registry)..." +# echo "$REPOSITORY_USER_TOKEN" | docker login ghcr.io -u "$REPOSITORY_USER" --password-stdin # Navigate to the directory and prepare the environment echo "Preparing S3 and IAM log and directories..." @@ -18,6 +18,10 @@ mkdir -p logs/s3 logs/iam logs/cosi_driver data/vaultdb && \ sudo chown -R vscode:vscode logs data && \ chmod -R ugo+rwx logs data && \ +# Pulling docker images +docker pull ghcr.io/scality/vault:7.70.26 +docker pull ghcr.io/scality/cloudserver:7.70.55 + # Start Docker Compose for the 'iam_s3' profile echo "Deploying S3 and IAM using docker compose..." docker compose --profile iam_s3 up -d