You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
quite tricky to bust docker cache only for specific instructions, we can use a url that generates random text, but that's probably not desirable (pinging out to a random url).
Probably best to use --no-cache docker option when running the docker build command if the build needs to be forced and the code hasn't changed (eg: if the database has been re-created).
In the normal case, the build will work fine as it uses Github api to figure out if code has changed, and builds the necessary parts again (mvn clean package will rerun if any file has changed in the repo).
May be use a random number generator URL?
Before mvn clean package:
ADD randomURL /tmp/cachebust
The text was updated successfully, but these errors were encountered: