diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 62849181..562ea0cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,10 @@ jobs: - name: Cache Docker layers uses: satackey/action-docker-layer-caching@v0.0.8 + with: + key: docker-layers-linux-{hash} + restore-keys: | + docker-layers-linux- # Ignore the failure of a step and avoid terminating the job. continue-on-error: true @@ -38,11 +42,6 @@ jobs: - name: Checkout uses: actions/checkout@v2 - - name: Cache Docker layers - uses: satackey/action-docker-layer-caching@v0.0.8 - # Ignore the failure of a step and avoid terminating the job. - continue-on-error: true - - name: Build Docker builder image run: docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) -f .github/docker/windows/Dockerfile -t builder .