remove apt caching

This commit is contained in:
ThePhaseless
2025-02-28 19:16:09 +01:00
parent 6f6941e423
commit 2e8ed3fa9b
2 changed files with 2 additions and 27 deletions
-21
View File
@@ -95,27 +95,6 @@ jobs:
tags: type=raw,value=${{ steps.vars.outputs.LOCAL_TAG }}
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Set up apt cache
uses: actions/cache@v4
id: cache
with:
path: |
var-cache-apt
var-lib-apt
/root/.cache/uv
key: cache-${{ hashFiles('Dockerfile') }}-${{ steps.vars.outputs.SURFIX }}
- name: Inject cache into docker
uses: reproducible-containers/buildkit-cache-dance@v3.1.2
with:
cache-map: |
{
"var-cache-apt": "/var/cache/apt",
"var-lib-apt": "/var/lib/apt",
"root-cache-uv": "/root/.cache/uv"
}
skip-extraction: ${{ steps.cache.outputs.cache-hit }}
# Build and export Docker image for each platform (without pushing)
- name: Build Docker image
id: build