feat: add automated Docker BuildX dependency management workflow#4029
Merged
TingluoHuang merged 4 commits intoactions:mainfrom Sep 9, 2025
Merged
Conversation
## Docker BuildX and Container Tooling Automated Management - Weekly automated checking for Docker BuildX and container tooling updates - Intelligent Dockerfile base image updates with security vulnerability scanning - Multi-platform build validation with compatibility verification ## Key Features - ✅ **BuildX version management**: Latest Docker BuildX CLI updates with compatibility checks - ✅ **Base image updates**: Automated Dockerfile base image security updates - ✅ **Multi-platform validation**: Build testing across linux/amd64, linux/arm64 platforms - ✅ **Security scanning**: Container vulnerability assessment before PR creation - ✅ **Registry compatibility**: Ensures compatibility with GitHub Container Registry ## Update Strategy - **Weekly schedule**: Mondays at 9 AM for consistent container tooling maintenance - **Manual triggers**: On-demand updates for critical container security issues - **Graduated response**: Different handling for major vs minor BuildX updates - **Build validation**: Multi-platform container builds must succeed before PR creation ## Container Security - **Base image updates**: Automatic security patches for container base images - **Vulnerability scanning**: Pre-PR container security assessment - **Registry testing**: Validates container push/pull operations - **Platform compatibility**: Ensures ARM64 and AMD64 build success ## Integration Benefits - **Release pipeline**: Ensures container builds work with latest tooling - **Security compliance**: Automated container security maintenance - **Platform support**: Multi-architecture build reliability - **Development workflow**: Reduces manual Docker maintenance overhead ## Dependencies - **Requires**: Labels from actions#4024 (dependency, needs-manual-review) - **Integrates with**: Overall monitoring from actions#4025 - **Complements**: Other dependency management workflows in the series This workflow ensures Docker/container dependencies stay current and secure while maintaining build compatibility for containerized runner deployments.
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces an automated Docker BuildX dependency management workflow that runs weekly to keep Docker and BuildX versions current. The workflow checks for new versions of both Docker and BuildX, and only creates pull requests when both tools have available updates, ensuring compatibility between the container tooling components.
- Automated weekly Docker and BuildX version checking and updating
- Conditional PR creation only when both Docker and BuildX need updates
- Integration with dependency management labels for consistent workflow handling
Comments suppressed due to low confidence (4)
.github/workflows/docker-buildx-upgrade.yml:1
- The condition compares string outputs to integer 1. GitHub Actions outputs are strings, so this should be
if: ${{ needs.check-versions.outputs.DOCKER_SHOULD_UPDATE == '1' && needs.check-versions.outputs.BUILDX_SHOULD_UPDATE == '1' }}to ensure proper string comparison.
name: "Docker/Buildx Version Upgrade"
.github/workflows/docker-buildx-upgrade.yml:1
- The shell script conditions use string comparisons with '1' and '0', but the job condition on line 88 uses integer comparison. For consistency, either use string comparisons throughout or ensure the outputs are properly typed as booleans.
name: "Docker/Buildx Version Upgrade"
.github/workflows/docker-buildx-upgrade.yml:1
- The shell script conditions use string comparisons with '1' and '0', but the job condition on line 88 uses integer comparison. For consistency, either use string comparisons throughout or ensure the outputs are properly typed as booleans.
name: "Docker/Buildx Version Upgrade"
.github/workflows/docker-buildx-upgrade.yml:1
- The shell script conditions use string comparisons with '1' and '0', but the job condition on line 88 uses integer comparison. For consistency, either use string comparisons throughout or ensure the outputs are properly typed as booleans.
name: "Docker/Buildx Version Upgrade"
## Schedule Optimization - **Updated time**: Monday 12 AM (midnight) → 9 AM UTC - **Reasoning**: Independent of other dependencies, optimal timing in sequence - **Position**: Fourth in dependency update sequence ## Complete Monday Schedule (Option A) - 6 AM UTC: Node.js updates (foundation) - 7 AM UTC: NPM security audit (depends on Node.js) - 8 AM UTC: .NET SDK updates (independent) - **9 AM UTC: Docker/Buildx updates** ← Updated (independent) - 10 AM UTC: Dependency monitoring (summary) This timing ensures Docker/container updates run independently while maintaining the coordinated Monday morning approach for all dependency management.
TingluoHuang
reviewed
Sep 9, 2025
TingluoHuang
approved these changes
Sep 9, 2025
fmartinez255
pushed a commit
to TiVo/actions-runner
that referenced
this pull request
Oct 14, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update labels for docker dependency management