Update github-actions.yml
This commit is contained in:
18
.github/workflows/github-actions.yml
vendored
18
.github/workflows/github-actions.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: ci
|
name: release-coolify
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -24,20 +24,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
-
|
|
||||||
name: Cache pnpm modules
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.pnpm-store
|
|
||||||
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-
|
|
||||||
|
|
||||||
-
|
|
||||||
uses: pnpm/action-setup@v2.1.0
|
|
||||||
with:
|
|
||||||
version: 7.0.0
|
|
||||||
run_install: false
|
|
||||||
-
|
-
|
||||||
name: Build and push
|
name: Build and push
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
@@ -46,3 +32,5 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: coollabsio/coolify-test:latest
|
tags: coollabsio/coolify-test:latest
|
||||||
|
cache-from: type=registry,ref=coollabsio/coolify-test:buildcache
|
||||||
|
cache-to: type=registry,ref=coollabsio/coolify-test:buildcache,mode=max
|
||||||
|
|||||||
Reference in New Issue
Block a user