Closed AlekSi closed 11 months ago
I have a directory structure produced by Docker/BuildKit multi-platform build:
tmp/build/ ├── linux_amd64 │ └── my-bin └── linux_arm64 └── my-bin
I want to be able to use the single nfpm.yml configuration file for both architectures. Unfortunately, it is not possible to use environment variable expansion in contents.src.
nfpm.yml
contents.src
arch: ${ARCH} contents: - src: tmp/build/linux_${ARCH}/my-bin dst: /usr/bin/my-bin
Using multiple nfpm.yml files. Using external templates. I would like to avoid both those alternatives.
I should be able to contribute that change if that's something you want to have.
hey, thanks for the suggestion!
see #721
Thank you!
It would be nice to have it released :)
released, sorry for the delay
Is your feature request related to a problem? Please describe.
I have a directory structure produced by Docker/BuildKit multi-platform build:
I want to be able to use the single
nfpm.yml
configuration file for both architectures. Unfortunately, it is not possible to use environment variable expansion incontents.src
.Describe the solution you'd like
Describe alternatives you've considered
Using multiple
nfpm.yml
files. Using external templates. I would like to avoid both those alternatives.Search
Code of Conduct
Additional context
I should be able to contribute that change if that's something you want to have.