Skip to content

Commit

Permalink
Merge pull request #268 from SelfhostedPro/projects
Browse files Browse the repository at this point in the history
setting up cache for builds
  • Loading branch information
SelfhostedPro authored Feb 8, 2021
2 parents 7a4def5 + 67e5bfd commit 0ecf45a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Cache Docker layers
uses: actions/cache@v2
with:
path: /tmp/.buildx-cache
key: ${{ runner.os }}-buildx-${{ github.sha }}
restore-keys: |
${{ runner.os }}-buildx-
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
Expand All @@ -47,3 +55,5 @@ jobs:
tags: |
selfhostedpro/yacht:devel
ghcr.io/selfhostedpro/yacht:devel
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache

0 comments on commit 0ecf45a

Please sign in to comment.