From 259aeeb67a84d60a89ab11d2a3150904b54514ee Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 4 May 2022 14:06:06 +0200 Subject: [PATCH] Update github-actions.yml --- .github/workflows/github-actions.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index 263072877..6ff5cdb81 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -25,9 +25,8 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Read package.json version - uses: dutscher/read-package-json-endpoint-actions@v1.3.37 - id: packagejson + name: Get current package version + uses: martinbeentjes/npm-get-version-action@v1.2.3 - name: Build and push uses: docker/build-push-action@v2 @@ -35,6 +34,6 @@ jobs: context: . platforms: linux/amd64 push: true - tags: coollabsio/coolify-test:latest,coollabsio/coolify-test:${{ steps.packagejson.outputs.version }} + tags: coollabsio/coolify-test:latest,coollabsio/coolify-test:${{ steps.package-version.outputs.current-version }} cache-from: type=registry,ref=coollabsio/coolify-test:buildcache cache-to: type=registry,ref=coollabsio/coolify-test:buildcache,mode=max