mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-06-27 17:38:25 +00:00
CI: remove cache dance and cache
This commit is contained in:
parent
b71539449e
commit
dd466326d8
@ -42,23 +42,6 @@ jobs:
|
|||||||
type=sha,format=short,prefix={{date 'YYYY.MM.DD'}}-,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
|
type=sha,format=short,prefix={{date 'YYYY.MM.DD'}}-,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
|
||||||
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
|
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
|
||||||
|
|
||||||
- name: Cache .o files for compilation
|
|
||||||
uses: https://code.forgejo.org/actions/cache@v4
|
|
||||||
id: cache
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
codegen-cache
|
|
||||||
key: cache-${{ hashFiles('./docker/Dockerfile') }}
|
|
||||||
|
|
||||||
- name: Inject cache into Docker
|
|
||||||
uses: https://github.com/reproducible-containers/buildkit-cache-dance@v3.2.0
|
|
||||||
with:
|
|
||||||
cache-map: |
|
|
||||||
{
|
|
||||||
"codegen-cache": "/root/.cache/crystal"
|
|
||||||
}
|
|
||||||
skip-extraction: ${{ steps.cache.outputs.cache-hit }}
|
|
||||||
|
|
||||||
- uses: https://code.forgejo.org/docker/build-push-action@v6
|
- uses: https://code.forgejo.org/docker/build-push-action@v6
|
||||||
name: Build images
|
name: Build images
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user