Update '.gitea/workflows/publish.yaml'
Some checks failed
docker (ubuntu-latest, 2.38.4)

This commit is contained in:
Lee 2023-03-27 21:05:26 +01:00
parent 3b0f7e3ef2
commit 34c17ea167

View File

@ -26,6 +26,14 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- 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 Repo
uses: docker/login-action@v2
with:
@ -39,3 +47,10 @@ jobs:
push: true
context: .
tags: git.fascinated.cc/fascinated/beatsaber-overlay:latest
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache-new
- name: Move cache
run: |
rm -rf /tmp/.buildx-cache
mv /tmp/.buildx-cache-new /tmp/.buildx-cache