diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6706f1719850b46d9abff6acb90bd50862ce4d01..783fbceff4bc9ef2f5c6b08c6a71f5c7bd91f514 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,10 @@ on: tags: - 'v*.*.*' +concurrency: + group: ${{ github.ref }} + cancel-in-progress: true + jobs: docker: runs-on: [self-hosted, multiarch] @@ -75,7 +79,7 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} cache-from: type=registry,ref=${{ secrets.PRIVATEHUB_HOSTNAME }}/${{ secrets.PRIVATEHUB_USERNAME }}/${{ env.REPOSITORY_NAME }}:buildcache - cache-to: type=registry,ref=${{ secrets.PRIVATEHUB_HOSTNAME }}/${{ secrets.PRIVATEHUB_USERNAME }}/${{ env.REPOSITORY_NAME }}:buildcache,mode=max + cache-to: type=registry,ref=${{ secrets.PRIVATEHUB_HOSTNAME }}/${{ secrets.PRIVATEHUB_USERNAME }}/${{ env.REPOSITORY_NAME }}:buildcache,mode=min,compression=zstd - name: Update repo description uses: peter-evans/dockerhub-description@v3 with: