diff --git a/.github/workflows/docker-backend.yml b/.github/workflows/docker-backend.yml index 77ea501..8b89dad 100644 --- a/.github/workflows/docker-backend.yml +++ b/.github/workflows/docker-backend.yml @@ -1,4 +1,3 @@ - name: Build, Push and Deploy SLRmentor Backend on: @@ -100,8 +99,8 @@ jobs: tags: | seallabuofc/slrmentor-backend:${{ needs.version.outputs.version }} seallabuofc/slrmentor-backend:latest - cache-from: type=gha - cache-to: type=gha,mode=max + cache-from: type=registry,ref=seallabuofc/slrmentor-backend:buildcache + cache-to: type=registry,ref=seallabuofc/slrmentor-backend:buildcache,mode=max - name: Build summary shell: bash @@ -112,6 +111,7 @@ jobs: echo "- Repository: seallabuofc/slrmentor-backend" >> "$GITHUB_STEP_SUMMARY" echo "- Version: $VERSION" >> "$GITHUB_STEP_SUMMARY" echo "- Latest: updated" >> "$GITHUB_STEP_SUMMARY" + echo "- Cache: Docker Hub registry" >> "$GITHUB_STEP_SUMMARY" # ==========================================