diff --git a/.gitea/workflows/foundyvtt-build.yml b/.gitea/workflows/foundyvtt-build.yml index 2e19849..81c2724 100644 --- a/.gitea/workflows/foundyvtt-build.yml +++ b/.gitea/workflows/foundyvtt-build.yml @@ -83,9 +83,14 @@ jobs: - name: Log in to Gitea Registry run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login gitea.fithwum.tech -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin + - name: Clear BuildKit cache + run: | + docker builder prune -af || true + docker buildx prune -af || true + - name: Build Docker image run: | - docker buildx build --platform linux/amd64 --push -t gitea.fithwum.tech/fithwum/foundry_vtt:alpine ./alpine + docker buildx build --platform linux/amd64 --pull --no-cache --push -t gitea.fithwum.tech/fithwum/foundry_vtt:alpine ./alpine generate-changelogs: needs: build