Skip to content

Commit

Permalink
fix(docker): don't crash updater script if version not published yet
Browse files Browse the repository at this point in the history
Fixes #351
  • Loading branch information
ericswpark committed Feb 9, 2024
1 parent 1d4ab93 commit c002a23
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# Set latest version tag
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;

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

Expand Down

0 comments on commit c002a23

Please sign in to comment.