Skip to content

Update derived image cache handling to use mode=min and ignore errors - #355

Merged
ptr727 merged 1 commit into
developfrom
actiosncache
Mar 31, 2026
Merged

Update derived image cache handling to use mode=min and ignore errors#355
ptr727 merged 1 commit into
developfrom
actiosncache

Conversation

@ptr727

@ptr727 ptr727 commented Mar 31, 2026

Copy link
Copy Markdown
Owner

…gnore errors

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 31, 2026 00:29
@ptr727
ptr727 enabled auto-merge (squash) March 31, 2026 00:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates GitHub Actions Docker build workflows to adjust BuildKit cache exporting behavior, aiming to reduce cache size and prevent cache export failures from failing builds.

Changes:

  • Switch cache-to for derived/product image builds to type=gha with mode=min and ignore-error=true.
  • Add ignore-error=true to GHA cache exports for base image builds (base images still use mode=max).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/build-docker-task.yml Exports GHA cache with mode=min and ignore-error=true for main/develop and internal PR builds.
.github/workflows/build-base-images-task.yml Adds ignore-error=true to GHA cache exports for base image builds (keeps mode=max).

Comment thread .github/workflows/build-base-images-task.yml
@ptr727 ptr727 changed the title Update cache handling in Docker build workflows to use min mode and ignore errors Update derived image cache handling to use mode=min and ignore errors Mar 31, 2026
@ptr727
ptr727 merged commit 0ca3e6d into develop Mar 31, 2026
55 checks passed
@ptr727
ptr727 deleted the actiosncache branch March 31, 2026 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants