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.

Update github-actions.yml

Andras Bacsai1211f3c9fdc2
diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml
index b8e1b010fd..4c59cf7159 100644
--- a/.github/workflows/github-actions.yml
+++ b/.github/workflows/github-actions.yml
@@ -24,6 +24,10 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
+ -
+ name: Read package.json version
+ uses: dutscher/[email protected]
+ id: packagejson
-
name: Build and push
uses: docker/build-push-action@v2
@@ -31,6 +35,6 @@ jobs:
context: .
platforms: linux/amd64
push: true
- tags: coollabsio/coolify-test:latest
+ tags: coollabsio/coolify-test:latest,coollabsio/coolify-test:${{ steps.packagejson.version }}
cache-from: type=registry,ref=coollabsio/coolify-test:buildcache
cache-to: type=registry,ref=coollabsio/coolify-test:buildcache,mode=max