Skip to content

Commit

Permalink
chore: build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
BrooksYang committed May 18, 2024
1 parent f597407 commit 0f3959b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ install_docker() {

if ! command -v docker-compose &>/dev/null; then
curl -SL https://github.com/docker/compose/releases/download/v2.27.0/docker-compose-linux-x86_64 \
-o /usr/local/bin/docker-compose && \
chmod +x /usr/local/bin/docker-compose && ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
-o /usr/local/bin/docker-compose &&
chmod +x /usr/local/bin/docker-compose && ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
fi
}

Expand Down Expand Up @@ -53,7 +53,10 @@ run() {
sed -i "s/APP_VERSION=.*/APP_VERSION=${tag}/g" .env
fi

# Load and tag latest
# Load images
docker load </tmp/"${app_name}"-images.tar.gz

# tag latest
# echo "tag latest"
# loaded=$(docker load </tmp/"${app_name}"-images.tar.gz)
# for image_with_version in $(echo "$loaded" | awk -F ': ' '{print $2}'); do
Expand Down

0 comments on commit 0f3959b

Please sign in to comment.