mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-22 16:14:22 +02:00
Update github-actions.yml
This commit is contained in:
parent
c07d6aa702
commit
1211f3c9fd
6
.github/workflows/github-actions.yml
vendored
6
.github/workflows/github-actions.yml
vendored
@ -24,6 +24,10 @@ jobs:
|
||||
with:
|
||||
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: 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
|
||||
|
Loading…
Reference in New Issue
Block a user