startersclan / docker-sourceservers

Source / Goldsource dedicated server images built through use of steamcmd. 🐳
Apache License 2.0
47 stars 5 forks source link

Enhancement (ci): Add `docker build` argument `CACHE_KEY` #111

Closed joeltimothyoh closed 1 year ago

joeltimothyoh commented 1 year ago

The CACHE_KEY argument adds a layer to the build making the build cache unique to its specified value. This helps circumvent the use of old build cache from identical Dockerfile layers while forcing cache to be used for matching CACHE_KEY values.