diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index aacf403..dd373cb 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -69,11 +69,11 @@ jobs: - name: 🏗 Setup Docker Buildx uses: docker/setup-buildx-action@v3.0.0 - # - name: 🏗 Cache Docker Layers - # uses: actions/cache@v3 - # with: - # path: /tmp/.buildx-cache - # key: image-${{ matrix.name }}-version-${{ matrix.version.full }}-buildx-${{ hashFiles(format('{0}/Container_folder', matrix.path)) }} + - name: 🏗 Cache Docker Layers + uses: actions/cache@v3 + with: + path: /tmp/.buildx-cache + key: image-${{ matrix.name }}-version-${{ matrix.version.full }}-buildx-${{ hashFiles(format('{0}/Container_folder', matrix.path)) }} - name: 🏗 Log into registry ${{env.REGISTRY}} if: ${{ github.event_name != 'pull_request' && steps.file_change.outputs.container_folder == 'true' }} @@ -92,10 +92,10 @@ jobs: push: ${{github.event_name != 'pull_request'}} tags: ${{steps.meta.outputs.tags}} labels: ${{steps.meta.outputs.labels}} - cache-from: type=gha - cache-to: type=gha,mode=max - # cache-from: type=local,src=/tmp/.buildx-cache - # cache-to: type=local,dest=/tmp/.buildx-cache + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache + # cache-from: type=gha + # cache-to: type=gha,mode=max - name: 🏗 Sign the published container image if: ${{ github.event_name != 'pull_request' && steps.file_change.outputs.container_folder == 'true' }}