I’m pushing the latest and vX.X.X tags to docker hub, and my pipelines reference image: lucap/drone-now
without a tag.
The plugin image is never updated to his latest tag…
you can add the pull: true
attribute to your step
pipeline:
foo:
image: foo/bar
+ pull: true
Thanks!
Is it preferable to put this parameter on all examples ?
Is there a internal documentation on that ?
Is there a internal documentation on that ?
Yes, here https://docs.drone.io/pipeline/docker/syntax/images/
Is it preferable to put this parameter on all examples ?
Not necessarily. We have begun recommending versioned plugins as a best practice as opposed to using the latest tag. This helps teams create more reproducible pipelines, and helps avoid breaking changes.
pipeline:
slack:
- image: plugins/slack:latest
+ image: plugins/slack:1.0