Compare commits
2 Commits
b7b5823d99
...
885bf5c4b3
Author | SHA1 | Date | |
---|---|---|---|
885bf5c4b3 | |||
1ad54694a9 |
@ -17,15 +17,6 @@ jobs:
|
|||||||
- 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