diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 22f3b89..30f9abe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: jobs: buildpush: - runs-on: ubuntu-latest + runs-on: self-hosted permissions: contents: read packages: write @@ -77,8 +77,9 @@ jobs: labels: ${{ steps.meta.outputs.labels }} # cache-from: type=local,src=/tmp/.buildx-cache # cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max - cache-from: type=registry,ref=${{ env.IMAGE_NAME }}:latest - cache-to: type=inline + load: true + cache-from: type=gha + cache-to: type=gha,mode=max # - # Temp fix # # https://github.com/docker/build-push-action/issues/252 # # https://github.com/moby/buildkit/issues/1896