Skip to content

Problem in Github Action and building latest changes pushed #25944

Answered by BrightRan
aalwaqfi asked this question in Actions
Discussion options

You must be logged in to vote

@aalwaqfi,

I thought something is happening on our side like caching issue.

Yes, the problem should be caused by the Docker Cache.

In the same host machine, by default Docker will cache the results of the first build of a Dockerfile, allowing subsequent builds to be super fast.
However, the cache is used pretty aggressively and may cause issues when you want the updated output of a RUN or ENTRYPOINT instruction to make it into the new container. As it stands, unless the Dockerfile itself changes (especially the RUN or ENTRYPOINT instruction changes, and thus invalidates Docker’s on-host cache), Docker will reuse the previous results from cache. This is clearly disadvantageous when the RUN

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants