Closed zyy17 closed 1 week ago
The pull request introduces an update to the GitHub Actions workflow configuration in .github/workflows/dev-build.yaml
. Two new optional input parameters, build-arm64
and build-initializer
, have been added to enhance the build process. The build-arm64
parameter allows for the dynamic adjustment of the platforms used for building images, while the build-initializer
controls the conditional execution of the initializer build step.
File Path | Change Summary |
---|---|
.github/workflows/dev-build.yaml | Added new input parameters build-arm64 and build-initializer (both boolean, optional, defaults to false). Modified platforms variable based on build-arm64 value for Docker build step. Updated initializer build step to be conditionally executed based on build-initializer . |
sequenceDiagram
participant User
participant GitHub Actions
participant Docker
User->>GitHub Actions: Trigger build with build-arm64 and build-initializer
GitHub Actions->>GitHub Actions: Check build-arm64 value
alt build-arm64 is true
GitHub Actions->>Docker: Set platforms to linux/amd64, linux/arm64
else build-arm64 is false
GitHub Actions->>Docker: Set platforms to linux/amd64
end
GitHub Actions->>GitHub Actions: Check build-initializer value
alt build-initializer is true
GitHub Actions->>Docker: Start initializer build
end
GitHub Actions->>Docker: Start build with selected platforms
🐇 In the meadow where rabbits play,
Two new inputs brighten the day!
ARM64 and initializer join the fun,
With builds that dance, our work is done.
Hopping along, we cheer and we sing,
For every new change, joy it will bring! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
build-arm64
for the Dev Build workflow, allowing users to specify ARM64 image builds.build-initializer
to control the execution of the initializer build step.build-arm64
parameter.