Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Push 'latest' tag versions of Docker images #4134

Merged
merged 2 commits into from
Apr 24, 2020

Conversation

epwalsh
Copy link
Member

@epwalsh epwalsh commented Apr 23, 2020

I think it's good to always have a 'latest' tag. I was also going to try Docker layer caching here but I think I'll put that in another PR.

@epwalsh epwalsh requested review from dirkgr and schmmd April 23, 2020 23:22
Copy link
Member

@schmmd schmmd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's bad to use latest in general so I'm not sure I agree that it's always good to have a latest branch.

But if it's useful for caching (which is exactly what Sam and I used it for in the Skiff builds) then let's go for it! Just beware that the caching won't be effective for PRs that are quite divergent. For example, if I made a PR that changed the base image this cache wouldn't help at all.

@epwalsh epwalsh merged commit b3fcf60 into allenai:master Apr 24, 2020
@epwalsh epwalsh deleted the docker-layer-caching branch April 24, 2020 15:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants