-
Notifications
You must be signed in to change notification settings - Fork 362
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
Encounters error if imageId file exists, and the image it's referring is already built ("repoTags" is null) #1227
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
DockerBuildImage
should be able to successfully finish the build Docker image task.Current Behavior
DockerBuildImage
fails the build Docker image task if the image is already built previously and the following file exists:build/.docker/docker_buildImage-imageId.txt
.The error message is the following:
Context
I want to build a Docker image as a Gradle task so I can use it in a later task.
Steps to Reproduce (for bugs)
Your Environment
Gradle Docker plugin artifact: com.bmuschko.docker-remote-api:9.4.0
Gradle version: 8.11.1
OS: Windows 11
Possible workaround
Before every Docker image build, delete either the previously built Docker image, or the following file:
build/.docker/docker_buildImage-imageId.txt
.The text was updated successfully, but these errors were encountered: