Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Does the docker build check the repository? #52

Closed
tomeichlersmith opened this issue May 28, 2020 · 4 comments
Closed

Question: Does the docker build check the repository? #52

tomeichlersmith opened this issue May 28, 2020 · 4 comments
Milestone

Comments

@tomeichlersmith
Copy link

I am using this action to build an image with a lot of dependencies in it for the application I am developing. These several dependencies take a long time to build and install onto the docker image, and therefore the docker image takes a long time to build.

When I am developing the docker image locally, the docker cache stores the intermediate layers so that it only needs to rebuild the layers after and including any changes I made. I am wondering if this action has a similar feature. Does it pull down the image from dockerhub to see which layer to start from?

Thank you

@hholst80
Copy link

@tomeichlersmith
Copy link
Author

Awesome, thank you very much.

@crazy-max
Copy link
Member

crazy-max commented Sep 2, 2020

@crazy-max crazy-max added this to the v2 milestone Sep 2, 2020
@crazy-max
Copy link
Member

Version 2 has been merged to the main branch and is therefore available via uses: docker/build-push-action@v2 (mutable tag).

As a reminder, this new version changes drastically and works with 3 new actions (login, setup-buildx and setup-qemu) that we have created. Many usage examples have been added to handle most use cases.

And it should fix this current issue. Don't hesitate if you have any questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants