Skip to content
Snippets Groups Projects
Commit 1ec869a7 authored by Emmanuel Bruno's avatar Emmanuel Bruno
Browse files

improves caching.

parent fd63336b
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,10 @@ on: ...@@ -9,6 +9,10 @@ on:
tags: tags:
- 'v*.*.*' - 'v*.*.*'
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
docker: docker:
runs-on: [self-hosted, multiarch] runs-on: [self-hosted, multiarch]
...@@ -75,7 +79,7 @@ jobs: ...@@ -75,7 +79,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=${{ secrets.PRIVATEHUB_HOSTNAME }}/${{ secrets.PRIVATEHUB_USERNAME }}/${{ env.REPOSITORY_NAME }}:buildcache 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 - name: Update repo description
uses: peter-evans/dockerhub-description@v3 uses: peter-evans/dockerhub-description@v3
with: with:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment