diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d56c43d34..fc4d5eac3 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -47,8 +47,6 @@ env: GHCR_REGISTRY: 'ghcr.io' GHCR_REGISTRY_USERNAME: ${{ github.actor }} GHCR_REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SCCACHE_GHA_ENABLED: "true" - RUSTC_WRAPPER: "sccache" jobs: @@ -127,9 +125,9 @@ jobs: SCCACHE_GHA_ENABLED=on RESTATE_FEATURES=${{ inputs.features || '' }} RUSTC_WRAPPER=sccache - cache-from: type=gha,scope=${{ github.workflow }},url=http://127.0.0.1:49160/ - cache-to: type=gha,mode=max,scope=${{ github.workflow }},url=http://127.0.0.1:49160/ - + cache-from: type=gha,url=http://127.0.0.1:49160/ + cache-to: type=gha,url=http://127.0.0.1:49160/,mode=max + - name: Save docker image as tar if: ${{ inputs.uploadImageAsTarball }} run: | @@ -167,6 +165,3 @@ jobs: RESTATE_FEATURES=${{ inputs.features || '' }} cache-from: type=gha,scope=${{ github.workflow }},url=http://127.0.0.1:49160/ cache-to: type=gha,mode=max,scope=${{ github.workflow }},url=http://127.0.0.1:49160/ - - name: Run sccache stat for check - shell: bash - run: ${SCCACHE_PATH} --show-stats \ No newline at end of file