Background
- @szepeviktor was gracious and contributed caching
- I temporarily commented this out in the actions file to solidify the build before
Caching will be helpful because:
- Saves time in CI
- We are good internet citizens by not draining @oerdnj's bandwidth resources
Scenarios to consider
✅ When we want a build
- There is an update to the
base_image (ubuntu:20.04)
- There is an update in @oerdnj's repository
🛑 DO NOT build when
- There are no updates for @oerdnj's repo
(notice we still need to build even if there are not updates for the base_image)
Possible solutions
- Check hash of @oerdnj's repo (http://ppa.launchpad.net/ondrej/php/ubuntu/dists/focal/Release)
- Something like
docker run ... /bin/bash -c "dpkg -l|shasum"
Related comment: 26723e7#r48044607
Next steps
Background
Caching will be helpful because:
Scenarios to consider
✅ When we want a build
base_image(ubuntu:20.04)🛑 DO NOT build when
(notice we still need to build even if there are not updates for the
base_image)Possible solutions
docker run ... /bin/bash -c "dpkg -l|shasum"Related comment: 26723e7#r48044607
Next steps