Skip to content

Commit

Permalink
fix(docker): fix docker version check
Browse files Browse the repository at this point in the history
  • Loading branch information
ericswpark committed Feb 9, 2024
1 parent bd4be47 commit f31051e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
setlatest

# Check if version has been uploaded to GitHub Registry
docker pull ghcr.io/shipperstack/shipper-server:${VERSION_TAG} > /dev/null || \
echo "The version hasn't been published yet! Try running the updater later."; \
exit 1;
if ! docker pull ghcr.io/shipperstack/shipper-server:${VERSION_TAG} > /dev/null ; then
echo "The version hasn't been published yet! Try running the updater later."
exit 1
fi

# Start Docker images
docker-compose up -d --no-build
Expand Down

0 comments on commit f31051e

Please sign in to comment.