diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7723857b7..a649634f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,12 +28,8 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Cache Docker Layers - uses: actions/cache@v4 - with: - path: /tmp/.buildx-cache - key: ${{ runner.os }}-buildx - restore-keys: ${{ runner.os }}-buildx- + - name: Create binaries directory + run: mkdir ./binaries - name: Build and Push uses: docker/bake-action@v4 @@ -48,8 +44,8 @@ jobs: push: true set: | *.platform=linux/amd64,linux/arm64 - *.cache-from=type=local,src=/tmp/.buildx-cache - *.cache-to=type=local,dest=/tmp/.buildx-cache,mode=max + *.cache-from=type=gha + *.cache-to=type=gha,mode=max binaries.output=type=local,dest=./binaries - name: Check version label