Skip to content

Enhance Docker build caching and update documentation#324

Merged
ptr727 merged 5 commits intodevelopfrom
tagfix1
Feb 5, 2026
Merged

Enhance Docker build caching and update documentation#324
ptr727 merged 5 commits intodevelopfrom
tagfix1

Conversation

@ptr727
Copy link
Owner

@ptr727 ptr727 commented Feb 5, 2026

Improve Docker build caching by adding cache_tag to base image definitions and updating the cache logic for feature branches. Additionally, update the Docker Hub README and GitHub Copilot guidance for better clarity and usability. Fix syntax issues in the jq command for generating Docker Hub repositories.

* Update docker hub readme task and fix version in README (#316)

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>

* Update GitHub Copilot guidance, enhance Docker build caching, and modify workspace settings (#318)

* Update docker hub readme task and fix version in README (#316) (#317)

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>

* Update GitHub Copilot guidance, enhance Docker build caching, and modify workspace settings

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>

---------

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>

---------

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
…Docker builds

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 5, 2026 23:43
@ptr727 ptr727 merged commit cbbc751 into develop Feb 5, 2026
12 checks passed
ptr727 added a commit that referenced this pull request Feb 5, 2026
* Develop (#319)

* Update docker hub readme task and fix version in README (#316)



* Update GitHub Copilot guidance, enhance Docker build caching, and modify workspace settings (#318)

* Update docker hub readme task and fix version in README (#316) (#317)



* Update GitHub Copilot guidance, enhance Docker build caching, and modify workspace settings



---------



---------



* Fix syntax in jq command for generating docker hub repositories (#320)



* Update cache-to logic in Docker build step for feature branches (#321)



* fix: Add cache_tag to base image definitions for improved caching in Docker builds



---------

Signed-off-by: Pieter Viljoen <ptr727@users.noreply.github.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances Docker build caching for base images by introducing an explicit cache_tag field in the base image matrix definitions, separating the concern of cache lookups from image tagging.

Changes:

  • Added cache_tag field to both nx-base and nx-base-lsio base image definitions in the GitHub Actions workflow
  • Updated the cache-from registry reference to use the new cache_tag field instead of the multi-line tags field

Comment on lines +20 to +29
- name: nx-base
dockerfile: Docker/NxBase.Dockerfile
cache_tag: docker.io/ptr727/nx-base:ubuntu-noble
tags: |
docker.io/ptr727/nx-base:ubuntu-noble
- name: nx-base-lsio
dockerfile: Docker/NxBase-LSIO.Dockerfile
cache_tag: docker.io/ptr727/nx-base-lsio:ubuntu-noble
tags: |
docker.io/ptr727/nx-base-lsio:ubuntu-noble
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

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

The PR description mentions "Update the Docker Hub README and GitHub Copilot guidance for better clarity and usability" and "Fix syntax issues in the jq command for generating Docker Hub repositories", but these changes are not present in the diff. Either these changes were not included in this PR, or the PR description is inaccurate. Please ensure the PR description accurately reflects the actual changes included.

Copilot uses AI. Check for mistakes.
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.

1 participant