Fix Github Release CI (#144)

* fix: attempt fix from https://github.com/reproducible-containers/buildkit-cache-dance

* fix: lint

* fix: migrate to pnpm to see if it builds

* fix: comment out unified deps builder

* fix: remove dependency on deps

* fix: shamefully hoist deps
This commit is contained in:
DecDuck
2025-07-31 21:36:01 +10:00
committed by GitHub
parent 244f20b5f4
commit 4e901164fb
5 changed files with 36 additions and 16 deletions

View File

@ -23,6 +23,7 @@ jobs:
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 1 # fix for when this gets triggered by tag
fetch-tags: true
token: ${{ secrets.GITHUB_TOKEN }}
@ -78,6 +79,21 @@ jobs:
# set latest tag for stable releases
type=raw,value=latest,enable=${{ github.event_name == 'release' && github.event.release.prerelease == false }}
- name: Cache
uses: actions/cache@v4
id: cache
with:
path: cache-mount
key: cache-mount-${{ hashFiles('Dockerfile') }}
- name: Restore Docker cache mounts
uses: reproducible-containers/buildkit-cache-dance@v3
with:
builder: ${{ steps.setup-buildx.outputs.name }}
cache-dir: cache-mount
dockerfile: Dockerfile
skip-extraction: ${{ steps.cache.outputs.cache-hit }}
- name: Build and push image
id: build-and-push
uses: docker/build-push-action@v6