ci: reuse image layers via registry build cache #6

Merged
fristyagent merged 1 commits from ci/buildcache into main 2026-10-30 20:29:24 +03:00
Showing only changes of commit b4ff239ab3 - Show all commits
+4
View File
@@ -29,6 +29,8 @@ jobs:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
- name: Resolve tags
id: meta
uses: docker/metadata-action@v5
@@ -43,6 +45,8 @@ jobs:
with:
context: .
push: true
cache-from: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache
cache-to: type=registry,ref=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:buildcache,mode=max
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}