fixes
This commit is contained in:
parent
d2f63c6dc5
commit
1ad54694a9
@ -12,20 +12,11 @@ jobs:
|
|||||||
arch: ['git.fascinated.cc/fascinated/gitea-runner:ubuntu-latest']
|
arch: ['git.fascinated.cc/fascinated/gitea-runner:ubuntu-latest']
|
||||||
git-version: ['2.38.4']
|
git-version: ['2.38.4']
|
||||||
runs-on: ${{ matrix.arch }}
|
runs-on: ${{ matrix.arch }}
|
||||||
#container: node:19-alpine
|
container: node:19-bullseye
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: https://github.com/actions/checkout@v3
|
uses: https://github.com/actions/checkout@v3
|
||||||
|
|
||||||
- name: Restore Docker
|
|
||||||
id: cache-docker
|
|
||||||
uses: https://github.com/actions/cache/restore@v3
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
/usr/bin/docker
|
|
||||||
key: ${{ runner.os }}-docker
|
|
||||||
token: ${{ secrets.GH_TOKEN }}
|
|
||||||
|
|
||||||
#- name: Download docker
|
#- name: Download docker
|
||||||
# if: steps.cache-docker.outputs.cache-hit != 'true'
|
# if: steps.cache-docker.outputs.cache-hit != 'true'
|
||||||
# run: |
|
# run: |
|
||||||
@ -36,14 +27,6 @@ jobs:
|
|||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: https://github.com/docker/setup-buildx-action@v2
|
uses: https://github.com/docker/setup-buildx-action@v2
|
||||||
|
|
||||||
- name: Cache Docker layers
|
|
||||||
uses: https://github.com/actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: /tmp/.buildx-cache
|
|
||||||
key: ${{ runner.os }}-buildx-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-buildx-
|
|
||||||
|
|
||||||
- name: Login to Repo
|
- name: Login to Repo
|
||||||
uses: https://github.com/docker/login-action@v2
|
uses: https://github.com/docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
@ -56,11 +39,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
context: .
|
context: .
|
||||||
tags: git.fascinated.cc/fascinated/beatsaber-overlay:latest
|
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
|
|
Reference in New Issue
Block a user