Try manually cache build layers
Build and Publish Docker Container / build (push) Has been cancelled
Build and Publish Docker Container / build (push) Has been cancelled
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user