Try manually cache build layers
Some checks failed
Build and Publish Docker Container / build (push) Has been cancelled
Some checks failed
Build and Publish Docker Container / build (push) Has been cancelled
This commit is contained in:
parent
3b2c1aeda0
commit
8478fa0b38
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -18,6 +18,16 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|
||||||
|
- name: Cache Docker layers
|
||||||
|
uses: https://github.com/actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
/tmp/.buildx-cache.bookworm
|
||||||
|
/tmp/.buildx-cache.latest
|
||||||
|
key: ${{ runner.os }}-buildx-${{ gitea.sha }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-buildx-
|
||||||
|
|
||||||
- name: Login to Docker
|
- name: Login to Docker
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user