I am trying to build/push an image to ECR however it fails on the tagging step.
Drone version: v0.8
step from .drone.yml file:
And the error from Drone logs:
Error parsing reference: "xxxxx.dkr.ecr.us-east-1.amazonaws.com/:latest" is not a valid repository/tag: invalid reference format
Notice the region mismatch in the config and in the error message. Is this plugin not supported by Drone v0.8?
the syntax in your example mixes Drone 1.x syntax with Drone 0.8 syntax. As a result, when 0.8 parses the yaml, it ignores the unrecognized 1.x syntax and therefore does not register the plugin settings. Because 0.8 is end of life and is no longer being supported, we recommend upgrading to 1.x
Is there v0.8 documentation for this plugin that I can cross check as no matter how I change the syntax the settings are being ignored?
Current setup which is failing with the same error:
settings section is for 1.x only. Unfortunately we do not have any plugin documentation for 0.8
Okay thanks. I’ll post the working config once done.
Have not managed to get this working so built a custom plugin instead.