drone-plugins / drone-s3

Drone plugin for publishing artifacts to Amazon S3
http://plugins.drone.io/drone-plugins/drone-s3
Apache License 2.0
36 stars 64 forks source link

Target Pattern? #45

Closed donatj closed 6 years ago

donatj commented 6 years ago

As far as I can tell looking through the source, there's no support for any sort of target patterning?

Would there be any interest in this if I were to fork this and develop this?

The need I have is to deploy my binaries to an S3 bucket containing the CI_TAG as a directory. ala /production/release/#{CI_TAG}/mybinary

bradrydzewski commented 6 years ago

not sure I understand what is meant by target pattern, but based on the example it looks like you want string substitution which is provided at the drone-level, not at the plugin level. You can substitute variables as defined here: http://docs.drone.io/substitution/

Here is an available list of variables: http://docs.drone.io/environment-reference/

donatj commented 6 years ago

Hah, I had no idea!

Thanks. Closing this ticket.