diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 328e5ae9ad..c57d221781 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -98,6 +98,8 @@ jobs: file: ${{ steps.prepare_tags.outputs.dockerfile_path }} platforms: linux/amd64,linux/arm64 push: false + cache-from: type=gha + cache-to: type=gha,mode=max tags: ${{ steps.prepare_tags.outputs.tags }} build-args: | BUILD_CONTEXT=${{ steps.prepare_tags.outputs.context_dir }} diff --git a/.github/workflows/release-integrations.yml b/.github/workflows/release-integrations.yml index 9ef8e30097..87a478a527 100644 --- a/.github/workflows/release-integrations.yml +++ b/.github/workflows/release-integrations.yml @@ -115,6 +115,8 @@ jobs: file: ${{ steps.prepare_tags.outputs.dockerfile_path }} platforms: linux/amd64,linux/arm64 push: true + cache-from: type=gha + cache-to: type=gha,mode=max tags: ${{ steps.prepare_tags.outputs.tags }} build-args: | BUILD_CONTEXT=${{ steps.prepare_tags.outputs.context_dir }}