itzg / easy-add

A utility for easily adding a file from a downloaded archive during Docker builds
MIT License
26 stars 6 forks source link

Add templating to file argument #3

Closed TimoMeijer closed 4 years ago

TimoMeijer commented 4 years ago

I noticed that it is a common practice for releases to contain a folder with the same name as the archive, in which the executable is located. This leads to an issue when this name is parameterized. To support these kinds of releases, I simply added templating to the file argument, so that it can be fully specified using the vars.

itzg commented 4 years ago

This is mostly released in https://github.com/itzg/easy-add/releases/tag/0.7.0

CircleCI or GitHub is having some issues: https://app.circleci.com/pipelines/github/itzg/easy-add/37/workflows/20353cc8-5136-40fb-bf73-25489e756b17/jobs/53/parallel-runs/0/steps/0-103