Skip to content

Lead GitHub Actions recipes with Docker GitHub Builder - #26495

Open
dvdksn wants to merge 7 commits into
mainfrom
docsflow/docs-4pol
Open

dvdksn wants to merge 7 commits into
mainfrom
docsflow/docs-4pol

Conversation

@dvdksn

@dvdksn dvdksn commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Present Docker GitHub Builder first in the GitHub Actions introduction, multi-platform guide, and supported task recipes. Keep individual-action alternatives for local images, custom builders, and workflows that need steps on the same runner. Explain differences in metadata, cache, permissions, signing, and secrets.

Validation: scoped rumdl and Vale checks, 13 reusable calls checked against the recorded upstream contract, a full Hugo build, and 234 rendered internal links and fragments checked. GitHub workflows were not run.

GitHub Actions examples lead with individual actions despite the reusable build workflows. Present Builder first for supported recipes, explain its defaults, and retain action-based alternatives for tasks that need them.
@netlify

netlify Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit 1aeb8e2
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6af6c70072396161d1f51b0a
😎 Deploy Preview https://deploy-preview-26495--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added the area/build Relates to Dockerfiles or docker build command label Oct 30, 2026
The separate Builder subsection duplicates the preferred introduction and action comparison. Move its build, Bake, and architecture guides into the main GitHub Actions section, consolidate the overview, and preserve old page URLs and fragments.
Standalone Builder references obscure the name of Docker GitHub Builder. Use GitHub Builder in prose, headings, and navigation while preserving existing heading anchors.
Separate HTML anchors duplicate the role of explicit heading IDs. Attach the existing fragment IDs to the workflow headings using Markdown attributes.
The GitHub Actions introduction repeats recipe navigation in an Examples section.
Remove that section and its sectionlinks list while retaining the task links in the introduction.
Removing the GitHub Actions recipe list left its shortcode unused, causing strict Hugo builds to fail. Remove the unreferenced template so validation can build the site.
@github-actions github-actions Bot added the hugo Updates related to hugo label Oct 30, 2026
@dvdksn
dvdksn marked this pull request as ready for review October 30, 2026 14:40
@dvdksn
dvdksn requested review from a team and crazy-max October 30, 2026 14:40
@dvdksn

dvdksn commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

bump here @docker/docs-team @crazy-max

@crazy-max

Copy link
Copy Markdown
Member

bump here @docker/docs-team @crazy-max

Ah forgot to review, will take a look today

@crazy-max crazy-max left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Non-blocking, pre-existing drift in the moved guides: build-workflow.md:62–63 and github-builder-architecture/index.md:52–58 describe the default runners as ubuntu-24.04 and ubuntu-24.04-arm, but the referenced Builder v1 uses ubuntu-26.04 and ubuntu-26.04-arm.

Update the descriptions of the defaults to match upstream, or link to the workflow's runner defaults to avoid duplicating values that can change: https://github.com/docker/github-builder#runner-mapping

Explicit examples using 24.04 can stay if they aren't presented as defaults. This can be handled in a follow-up.

Comment on lines +33 to +35
set-meta-annotations: true
annotations: |
index:org.opencontainers.image.description=My application

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

With set-meta-annotations: true, the generated repository description overwrites My application in the final index. Builder appends generated annotations after explicit ones and converts both to index annotations, where the last value wins.

Pass the custom description through meta-annotations instead so it overrides the generated default while preserving the other metadata:

Suggested change
set-meta-annotations: true
annotations: |
index:org.opencontainers.image.description=My application
set-meta-annotations: true
meta-annotations: |
org.opencontainers.image.description=My application

Comment on lines +90 to +91
GitHub Builder checks out the repository for the triggering event in its own jobs.
Files changed in a caller job aren't automatically available to the build.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Small wording correction: build.yml uses a Git context rather than checking out the repository on the runner. "Aren't automatically available" also suggests caller-job changes could be included through extra configuration.

Suggested change
GitHub Builder checks out the repository for the triggering event in its own jobs.
Files changed in a caller job aren't automatically available to the build.
GitHub Builder builds from the repository at the triggering Git reference.
Files changed in a caller job aren't included in the build.

The annotation example could overwrite its custom description, and the introduction described a checkout instead of a Git context. Use metadata overrides, clarify which files are built, and link to upstream runner defaults to avoid duplicating changing values.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Relates to Dockerfiles or docker build command hugo Updates related to hugo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants