dalec icon indicating copy to clipboard operation
dalec copied to clipboard

Allow build-arg substitution in artifact paths

Open adamperlin opened this issue 11 months ago • 1 comments

What kind of request is this?

Improvement of existing experience

What is your request or suggestion?

It is not uncommon to have output binary paths which depend on build-args like TARGETARCH, TARGETOS, etc. It would be ideal if we could do something like:

artifacts:
    binaries:
      mysrc/out/${TARGETARCH}/bin:

when describing output artifacts in Dalec. I believe this would be a simple expansion to the current build-arg substitution phase.

Are you willing to submit PRs to contribute to this feature request?

  • [X] Yes, I am willing to implement it.

adamperlin avatar Mar 12 '24 19:03 adamperlin