Closed mhl787156 closed 2 years ago
Rather than passing in true/false for the arm64 build, is it possible to run buildx bake --print
beforehand and parse the desired platforms?
Rather than passing in true/false for the arm64 build, is it possible to run
buildx bake --print
beforehand and parse the desired platforms?
Quite possibly? Is that necessary for this pr though? perhaps this can be an improvement to the composite action which deals with it... (https://github.com/mhl787156/starling-bake-build-action)
No probably not. I guess we have to maintain a list of targets for each stage in the workflow file anyway.
I guess we'll see if the dev branch stuff works too
This PR aims to streamline system builds and deployments through better utilisation of github actions.
The updated github action serves to do the following:
latest
tag. The build will cache to and fromcache
nightly
. The build will cache to and fromcache-dev
.pr-testing-branch
). The build will cache fromcache-dev
and will not cache the output. On a pull request close or branch delete, there is also an attempt to delete the testing container from dockerhub.The github action uses several composite actions to perform the semantic versioning and build. It also uses the strategy matrix to reduce repetition in the action file.
TODO:
Future suggestions: We need to move everything to its own organization, this build script is getting rather unwieldy with all the new AP containers too!