Skip to content

Add caching of image files to build process #8

@jaydrogers

Description

@jaydrogers

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:

  1. Saves time in CI
  2. 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

  1. Check hash of @oerdnj's repo (http://ppa.launchpad.net/ondrej/php/ubuntu/dists/focal/Release)
  2. Something like docker run ... /bin/bash -c "dpkg -l|shasum"

Related comment: 26723e7#r48044607

Next steps

Metadata

Metadata

Assignees

Labels

⚡️ EnhancementItems that are new features requested to be added.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions