Branch: refs/heads/main
Revision: 478991f96592f4ea46478ac71ad5785165cc1664
Author: arifthpe
Link: Simplify CI image build job, use caching by arifthpe · Pull Request #29291 · chapel-lang/chapel · GitHub
Log Message:
Simplify CI image build job, use caching (#29291)
Slightly simplify the CI image build job's configuration, and enable
caching on it.
- Previously build and push were done as separate steps, each using
GitHub - docker/build-push-action: GitHub Action to build and push Docker images with Buildx · GitHub. The build step would always
just build, and the push step would run conditionally (if onmain)
with the same arguments as well aspush: true. Combine them to a
single use of the action, with the value ofpushset to the previous
push step's condition. - Enable use of the Docker GitHub Actions cache
exporter
to slightly speed up builds. - This required enabling the containerd image store, following
instructions at
Multi-platform image with GitHub Actions | Docker Docs.
[trivial, not reviewed]
Diff:
M .github/workflows/build-CI-container.yml
https://github.com/chapel-lang/chapel/pull/29291.diff