## 🔧 Improvements Summary This PR introduces three improvements focused on safety, maintainability, and readability of the GitHub Actions workflow. --- ### 1. Define Global Environment Variable **Before:** Environment variable `CURRENT_SDK` was defined repeatedly in multiple steps. **After:** Declared in gloabally one time. #### Why This Matters: - Eliminates duplication across steps. - Makes it easier to update or remove the variable in the future. - Still allows per-step override when necessary. ### 2. Fix Unsafe Shell Conditional on inputs.release - Using **[[ ... ]]** **instea**d of **[ ... ]** for conditionals. - Adding **double quotes** around inputs and refs to **avoid** evaluation issues. **PREVIOUSLY FIXED** Containerization project. [https://github.com/apple/containerization/pull/68](url) ### 3. Removed EXCLUSION AND TODO comment. #### Affected Steps: `check Formatting` `make proto` ### Improvements: Now that the repositories are public, we no longer need to exclude files like Package.swift and Package.resolved from formatting and proto checks. - Removed EXCLUDES logic - Removed related TODO comments - Updated git diff checks to include all files @wlan0 @katiewasnothere
container
container is a tool that you can use to create and run Linux containers as lightweight virtual machines on your Mac. It's written in Swift, and optimized for Apple silicon.
The tool consumes and produces OCI-compliant container images, so you can pull and run images from any standard container registry. You can push images that you build to those registries as well, and run the images in any other OCI-compliant application.
container uses the Containerization Swift package for low level container, image, and process management.
Get started
Requirements
You need an Apple silicon Mac to run container. To build it, see the BUILDING document.
container relies on the new features and enhancements present in the macOS 26 Beta 1. You can run the tool on macOS 15, but the container maintainers typically will not address issues discovered on macOS 15 that cannot be reproduced on the macOS 26 Beta 1.
There are significant networking limitations that impact the usability of container on macOS 15.
Install or upgrade
If you're upgrading, first uninstall your existing container while preserving your user data:
uninstall-container.sh -k
Download the latest signed installer package for container from the GitHub release page.
To install the tool, double click the package file and follow the instructions. Enter your administrator password when prompted, to give the installer permission to place the installed files under /usr/local.
Uninstall
Use the uninstall-container.sh script to remove container from your system. To remove your user data along with the tool, run:
uninstall-container.sh -d
To retain your user data so that it is available should you reinstall later, run:
uninstall-container.sh -k
Next steps
- Take a guided tour of
containerby building, running, and publishing a simple web server image. - Learn how to use various
containerfeatures. - Read a brief description and technical overview of
container. - View the project API documentation.
Contributing
Contributions to container are welcomed and encouraged. Please see our main contributing guide for more information.
Project Status
The container project is currently under active development. Its stability, both for consuming the project as a Swift package and the container tool, is only guaranteed within minor versions, such as between 0.1.1 and 0.1.2. Minor version number releases may include breaking changes until we achieve a 1.0.0 release.
