Update github-actions.yml
This commit is contained in:
parent
259aeeb67a
commit
3937cfec53
1 changed files with 2 additions and 1 deletions
3
.github/workflows/github-actions.yml
vendored
3
.github/workflows/github-actions.yml
vendored
|
|
@ -27,6 +27,7 @@ jobs:
|
||||||
-
|
-
|
||||||
name: Get current package version
|
name: Get current package version
|
||||||
uses: martinbeentjes/npm-get-version-action@v1.2.3
|
uses: martinbeentjes/npm-get-version-action@v1.2.3
|
||||||
|
id: package-version
|
||||||
-
|
-
|
||||||
name: Build and push
|
name: Build and push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
|
|
@ -34,6 +35,6 @@ jobs:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: coollabsio/coolify-test:latest,coollabsio/coolify-test:${{ steps.package-version.outputs.current-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-from: type=registry,ref=coollabsio/coolify-test:buildcache
|
||||||
cache-to: type=registry,ref=coollabsio/coolify-test:buildcache,mode=max
|
cache-to: type=registry,ref=coollabsio/coolify-test:buildcache,mode=max
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue