Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

add latest tag with prod release

Andras Bacsai06563ef9218c
diff --git a/.github/workflows/production-release.yml b/.github/workflows/production-release.yml
index 12545015fc..752e4fbec5 100644
--- a/.github/workflows/production-release.yml
+++ b/.github/workflows/production-release.yml
@@ -104,6 +104,7 @@ jobs:
- name: Create & publish manifest
run: |
docker buildx imagetools create --append coollabsio/coolify:${{steps.package-version.outputs.current-version}}-arm64 --append coollabsio/coolify:${{steps.package-version.outputs.current-version}}-aarch64 --tag coollabsio/coolify:${{steps.package-version.outputs.current-version}}
+ docker buildx imagetools create coollabsio/coolify:3.12.19 --tag coollabsio/coolify:latest
- uses: sarisia/actions-status-discord@v1
if: always()
with:
diff --git a/others/scripts/bumpLatest.sh b/others/scripts/bumpLatest.sh
new file mode 100644
index 0000000000..6fbd227e59
--- /dev/null
+++ b/others/scripts/bumpLatest.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+VERSION=$(cat ./package.json | jq -r .version)
+IMAGE=coollabsio/coolify
+echo "Pulling $IMAGE:$VERSION"
+docker pull $IMAGE:$VERSION
+
+echo "Tagging $IMAGE:$VERSION as $IMAGE:latest"
+docker tag $IMAGE:$VERSION $IMAGE:latest
+
+echo "Pushing $IMAGE:latest"
+read -p "Are you sure you want to push $IMAGE:latest? (y/n) " -n 1 -r
+if [[ ! $REPLY =~ ^[Yy]$ ]]; then
+ echo "Aborting"
+ exit 1
+fi
+
+docker push $IMAGE:latest