I replaced all our manual image build steps with a Docker bake file so it's easier to manage. This will let me swap in depot---or anything else that is required for all image builds---with ease.
I'll take a look at doing the same for our base images in another PR later if it makes sense.
Why?
A declarative config file like this lets us change or add images without mucking about with the grody github actions yaml file. This will also let docker (or depot) manage parallelism and sharing better.
Checklist
Testing
I ran the new make verify-ci target and it built the images successfully.
What was changed
I replaced all our manual image build steps with a Docker bake file so it's easier to manage. This will let me swap in depot---or anything else that is required for all image builds---with ease.
I'll take a look at doing the same for our base images in another PR later if it makes sense.
Why?
A declarative config file like this lets us change or add images without mucking about with the grody github actions yaml file. This will also let docker (or depot) manage parallelism and sharing better.
Checklist
Testing
I ran the new
make verify-ci
target and it built the images successfully.