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

Fix failure in case when previously built image from Dockerfile is gone #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fduchau
Copy link

@fduchau fduchau commented Sep 20, 2018

After docker image is built from Dockerfile we cache image id and reuse it for the next builds.

In the scenario when docker host is changed or some of the images become wiped / broken builds start failing with errors like that:

Unable to find image '12345a6b78ch9:latest' locally
Error response from daemon: pull access denied for 12345a6b78ch9, repository does not exist or may require 'docker login'
FATAL: command execution failed

This PR fixes it by rebuilding the image in case when it is gone

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

Successfully merging this pull request may close these issues.

1 participant