I have a use case where we stored our placeholders image as XXX.dkr.ecr.us-east-1.amazonaws.com/docker-hub-copy:drone-placeholder-1
and the clone image as XXX.dkr.ecr.us-east-1.amazonaws.com/docker-hub-copy:drone-git-1
When the runner is in this configuration it thinks that the clone container is a placeholder container and has a terminated state when the step completes. This causes the pipeline to fail. The clone container did terminate, but was successful.
It is my best guess that the check for isPlaceholder
is not taking into account the tag and looking only at the image name. Which in this use-case they are the same docker-hub-copy
.