Compare commits
2 Commits
b7b5823d99
...
885bf5c4b3
Author | SHA1 | Date | |
---|---|---|---|
885bf5c4b3 | |||
1ad54694a9 |
@ -17,15 +17,6 @@ jobs:
|
||||
- name: checkout
|
||||
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
|
||||
# if: steps.cache-docker.outputs.cache-hit != 'true'
|
||||
# run: |
|
||||
@ -36,14 +27,6 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
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
|
||||
uses: https://github.com/docker/login-action@v2
|
||||
with:
|
||||
@ -57,10 +40,3 @@ 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
|
||||
|
Reference in New Issue
Block a user