-
Notifications
You must be signed in to change notification settings - Fork 494
Could not acquire image ID or digest following build #216
Comments
I got this when I had an ARG in the dockerfile which wasn't declared in buildargs of the plugin. |
In my case, it failed because |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I had the following problem at my end. In my dockerfile, the maintainer was mis-spelled. |
Docker tag was having weird format. Not sure if dockerfile-maven plugin can report it. |
For those who have this problem, try to check if the image can be built using the docker build command, I had this same error because my Dockerfile contained an incorrect instruction |
Is this a BUG REPORT or FEATURE REQUEST?:
Description
[Add feature/bug description here]
How to reproduce
[Add steps on how to reproduce this issue]
What do you expect
[Describe what do you expect to happen]
What happened instead
[Describe the actual results]
Software:
docker version
: [Add the output ofdocker version
here, both client and server]Full backtrace
[ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.4.4:build (default-cli) on project starfish-math-app: Execution default-cli of goal com.spotify:dockerfile-maven-plugin:1.4.4:build failed: Could not acquire image ID or digest following build -> [Help 1]
The text was updated successfully, but these errors were encountered: