Skip to content

fix: rename cpp image destination to gabrielfrasantos/embedded-devcontainer-cpp - #62

Merged
gabrielfrasantos merged 1 commit into
mainfrom
copilot/fix-cpp-container-repo
May 18, 2026
Merged

fix: rename cpp image destination to gabrielfrasantos/embedded-devcontainer-cpp#62
gabrielfrasantos merged 1 commit into
mainfrom
copilot/fix-cpp-container-repo

Conversation

Copilot AI commented May 17, 2026

Copy link
Copy Markdown
Contributor

The cpp container was being pushed to gabrielfrasantos/embedded-devcontainer (no suffix) instead of gabrielfrasantos/embedded-devcontainer-cpp, inconsistent with the -base / -rust naming convention.

Workflows

  • build-push-test.yml, vulnerability-scan.yml, update-dependencies.yml — removed the matrix.flavor == 'cpp' ternary special-case; all three now use the uniform pattern:
    gabrielfrasantos/embedded-devcontainer-${{ matrix.flavor }}

Devcontainer & templates

  • .devcontainer/cpp-test/devcontainer.json and templates/cpp/.devcontainer/Dockerfile — updated image references to gabrielfrasantos/embedded-devcontainer-cpp

Documentation

  • README.md, .github/RELEASE_TEMPLATE.md, .github/ISSUE_TEMPLATE/bug_report.md — corrected all image name references
  • .github/copilot-instructions.md — updated registry table, removed the "no suffix" rationale, updated required Docker Hub repos list

Note: The gabrielfrasantos/embedded-devcontainer-cpp Docker Hub repository must exist before the next CI run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 standardizes the published Docker image name for the cpp flavor to gabrielfrasantos/embedded-devcontainer-cpp, and updates workflows, templates, and documentation to reference the new destination consistently across the repo.

Changes:

  • Update CI workflows to use a uniform gabrielfrasantos/embedded-devcontainer-${{ matrix.flavor }} naming pattern (removing the cpp no-suffix special case).
  • Update devcontainer template/test references to pull gabrielfrasantos/embedded-devcontainer-cpp.
  • Update documentation and templates to reflect the new cpp image name.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
templates/cpp/.devcontainer/Dockerfile Switch cpp template base image to embedded-devcontainer-cpp.
README.md Update documented cpp image link to the -cpp repo.
.github/workflows/vulnerability-scan.yml Scan the renamed cpp image using the unified naming pattern.
.github/workflows/update-dependencies.yml Run dependency update jobs inside the renamed cpp image via the unified naming pattern.
.github/workflows/build-push-test.yml Push cpp image to the renamed destination via the unified naming pattern.
.github/RELEASE_TEMPLATE.md Update release template to reference the renamed cpp image identifier.
.github/ISSUE_TEMPLATE/bug_report.md Update example container name to embedded-devcontainer-cpp.
.github/copilot-instructions.md Update fork documentation to reflect cpp image now uses -cpp.
.devcontainer/cpp-test/devcontainer.json Update cpp test devcontainer image reference to embedded-devcontainer-cpp.

Comment thread README.md
Comment thread .github/workflows/build-push-test.yml
Comment thread .github/copilot-instructions.md
@github-actions

github-actions Bot commented May 17, 2026

Copy link
Copy Markdown
Contributor

Test Results

 12 files   12 suites   16m 40s ⏱️
 32 tests  32 ✅ 0 💤 0 ❌
136 runs  136 ✅ 0 💤 0 ❌

Results for commit a69ab70.

♻️ This comment has been updated with latest results.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 24 0 0 0.24s
✅ DOCKERFILE hadolint 3 0 0 0.31s
✅ JSON npm-package-json-lint yes no no 0.55s
✅ JSON prettier 22 1 0 0 0.85s
✅ JSON v8r 22 0 0 12.45s
✅ MARKDOWN markdownlint 12 0 0 0 1.27s
✅ MARKDOWN markdown-table-formatter 12 1 0 0 0.33s
✅ REPOSITORY checkov yes no no 25.64s
✅ REPOSITORY gitleaks yes no no 1.37s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 51.86s
✅ REPOSITORY secretlint yes no no 2.01s
✅ REPOSITORY syft yes no no 3.1s
✅ REPOSITORY trivy yes no no 12.41s
✅ REPOSITORY trivy-sbom yes no no 0.43s
✅ REPOSITORY trufflehog yes no no 6.55s
⚠️ SPELL lychee 86 3 0 11.63s
✅ YAML prettier 32 0 0 0 1.29s
✅ YAML v8r 32 0 0 12.8s
✅ YAML yamllint 32 0 0 1.16s

Detailed Issues

⚠️ SPELL / lychee - 3 errors
[IGNORED] docker://pandoc/extra:3.9.0.0-ubuntu@sha256:72afa9c8d3300e5f10c9c4330e101725687f2179bffd912fb859c6d2ae85de62 | Unsupported: Error creating request client: builder error for url (docker://pandoc/extra:3.9.0.0-ubuntu@sha256:72afa9c8d3300e5f10c9c4330e101725687f2179bffd912fb859c6d2ae85de62)
[403] https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads | Network error: Forbidden
[ERROR] https://docs.sigstore.dev/cosign/signing/overview/ | Network error: error sending request for url (https://docs.sigstore.dev/cosign/signing/overview/) Maybe a certificate error?
[ERROR] https://docs.sigstore.dev/cosign/verifying/verify/ | Network error: error sending request for url (https://docs.sigstore.dev/cosign/verifying/verify/) Maybe a certificate error?
[IGNORED] https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/embedded-pro/embedded-devcontainer | Unsupported: Error creating request client: builder error for url (vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/embedded-pro/embedded-devcontainer)
📝 Summary
---------------------
🔍 Total..........124
✅ Successful.....119
⏳ Timeouts.........0
🔀 Redirected.......0
👻 Excluded.........0
❓ Unknown..........0
🚫 Errors...........3

Errors in .github/TOOL_VERSION_ISSUE_TEMPLATE.md
[403] https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads | Network error: Forbidden

Errors in README.md
[ERROR] https://docs.sigstore.dev/cosign/verifying/verify/ | Network error: error sending request for url (https://docs.sigstore.dev/cosign/verifying/verify/) Maybe a certificate error?
[ERROR] https://docs.sigstore.dev/cosign/signing/overview/ | Network error: error sending request for url (https://docs.sigstore.dev/cosign/signing/overview/) Maybe a certificate error?

See detailed reports in MegaLinter artifacts

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.4.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,DOCKERFILE_HADOLINT,JSON_V8R,JSON_PRETTIER,JSON_NPM_PACKAGE_JSON_LINT,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

Comment thread .github/copilot-instructions.md
@gabrielfrasantos

Copy link
Copy Markdown
Contributor

@copilot my job is faiiling due to docker hub limits:

Error: buildx failed with: toomanyrequests: You have reached your pull rate limit as '***': dckr_jti_5XoGNCeg_5n9we0YC3GVxgAGJAI=. You may increase the limit by upgrading. https://www.docker.com/increase-rate-limit

How can I fix that?

Copilot AI commented May 17, 2026

Copy link
Copy Markdown
Contributor Author

@copilot my job is faiiling due to docker hub limits:

Error: buildx failed with: toomanyrequests: You have reached your pull rate limit as '***': dckr_jti_5XoGNCeg_5n9we0YC3GVxgAGJA...

That error means your authenticated Docker Hub account (gabrielfrasantos) hit its pull quota — the as '***' and dckr_jti_... JTI show login is working; you've just run out of pulls in the 6-hour window (Personal accounts: 100 pulls/6h).

A single CI run on this repo pulls the base image ~16 times from Docker Hub: build matrix (cpp+rust × 2 archs = 4) + wc-integration-test-docker.yml container pulls (3 flavors × 2 archs = 6) + wc-integration-test-podman.yml (6). Add vulnerability-scan.yml (daily) and update-dependencies.yml (weekly), and the quota burns fast.

Practical options, cheapest first:

  1. Upgrade Docker Hub to Pro/Team — Pro gives 5,000 pulls/day, Team 50,000/day. This is the simplest fix and what Docker explicitly recommends in the error.
  2. Use a Docker Hub Personal Access Token (with Public Repo Read-only scope) for DOCKER_REGISTRY_PASSWORD if you aren't already — passwords/legacy tokens sometimes don't get counted as "authenticated" for rate limits.
  3. Mirror the images to GHCR and pull base/test images from ghcr.io (free, unlimited for public images) while still pushing to Docker Hub. This requires workflow changes to publish to both registries and reference ghcr.io/.../embedded-devcontainer-base as the BASE_IMAGE build-arg + container image for the integration tests.
  4. Set up a pull-through cache / registry mirror on a self-hosted runner (e.g., registry:2 configured as a Docker Hub proxy) and configure the runner's containerd/docker daemon to use it.
  5. Reduce duplicate pulls within one run by caching the base image artifact between the build job and the integration-test jobs (e.g., docker save → upload-artifact → docker load), but this saves only a fraction of the pulls.

If you want, I can implement option 3 (push to both Docker Hub and GHCR, switch CI internals to GHCR) in a follow-up PR — that's the most durable fix and keeps your published artifacts on Docker Hub for end users.

@github-actions

Copy link
Copy Markdown
Contributor

📦 Container Size Analysis

Note

Comparing docker.io/gabrielfrasantos/embedded-devcontainer-base:edgedocker.io/gabrielfrasantos/embedded-devcontainer-base:pr-62

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 0 B 71.82 MB +71.82 MB (+∞) 🔼
linux/arm64 0 B 70.13 MB +70.13 MB (+∞) 🔼

@github-actions

Copy link
Copy Markdown
Contributor

📦 Container Size Analysis

Note

Comparing docker.io/gabrielfrasantos/embedded-devcontainer-rust:edgedocker.io/gabrielfrasantos/embedded-devcontainer-rust:pr-62

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 0 B 468.63 MB +468.63 MB (+∞) 🔼
linux/arm64 0 B 419.81 MB +419.81 MB (+∞) 🔼

@github-actions

Copy link
Copy Markdown
Contributor

📦 Container Size Analysis

Note

Comparing docker.io/gabrielfrasantos/embedded-devcontainer-cpp:edgedocker.io/gabrielfrasantos/embedded-devcontainer-cpp:pr-62

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 732.36 MB 544.95 MB 187.41 MB (-25.59%) 🔽
linux/arm64 0 B 524.3 MB +524.3 MB (+∞) 🔼

@gabrielfrasantos
gabrielfrasantos merged commit fa917db into main May 18, 2026
62 of 65 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Hooray! The changes in this pull request went live with the release of v7.0.1 🎉

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.

3 participants