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.

cache gh actions

Andras Bacsai803b8f529295
diff --git a/.github/workflows/production-build.yml b/.github/workflows/production-build.yml
index 905377970e..8dde931718 100644
--- a/.github/workflows/production-build.yml
+++ b/.github/workflows/production-build.yml
@@ -13,6 +13,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
+ - name: Cache Docker layers
+ uses: actions/cache@v2
+ with:
+ path: |
+ /usr/local/share/ca-certificates
+ /var/cache/apt/archives
+ /var/lib/apt/lists
+ ~/.cache
+ key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }}
+ restore-keys: |
+ ${{ runner.os }}-docker-
- name: Login to ghcr.io
uses: docker/login-action@v2
with: