diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 803b9a4..3ff41dc 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -23,7 +23,7 @@ jobs: path: var-cache-pacman key: var-cache-pacman-${{ hashFiles('Dockerfile.archlinux') }} - name: inject var-cache-pacman into docker - uses: reproducible-containers/buildkit-cache-dance/inject@v1.0.0 + uses: reproducible-containers/buildkit-cache-dance@v2.1.2 with: cache-source: var-cache-pacman cache-target: /var/cache/pacman @@ -37,11 +37,6 @@ jobs: push: false tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - name: extract var-cache-pacman from docker - uses: reproducible-containers/buildkit-cache-dance/extract@v1.0.0 - with: - cache-source: var-cache-pacman - cache-target: /var/cache/pacman example-debian: runs-on: ubuntu-22.04 timeout-minutes: 10 @@ -73,12 +68,12 @@ jobs: path: var-lib-apt key: var-lib-apt-${{ hashFiles(format('{0}', matrix.dockerfile)) }} - name: inject var-cache-apt into docker - uses: reproducible-containers/buildkit-cache-dance/inject@v1.0.0 + uses: reproducible-containers/buildkit-cache-dance@v2.1.2 with: cache-source: var-cache-apt cache-target: /var/cache/apt - name: inject var-lib-apt into docker - uses: reproducible-containers/buildkit-cache-dance/inject@v1.0.0 + uses: reproducible-containers/buildkit-cache-dance@v2.1.2 with: cache-source: var-lib-apt cache-target: /var/lib/apt @@ -92,13 +87,3 @@ jobs: push: false tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - - name: extract var-cache-apt from docker - uses: reproducible-containers/buildkit-cache-dance/extract@v1.0.0 - with: - cache-source: var-cache-apt - cache-target: /var/cache/apt - - name: extract var-lib-apt from docker - uses: reproducible-containers/buildkit-cache-dance/extract@v1.0.0 - with: - cache-source: var-lib-apt - cache-target: /var/lib/apt