Adding support to set the workdir #280
Adding support to set the workdir #280KingBain wants to merge 4 commits intochainguard-images:mainfrom
Conversation
|
Hi, Thank you for this. We will look into this, and either land this change in private repo that will get mirrored here; or will figure out a better place for these. As possibly these are overdue to move to chainguard-dev/actions repo. Have a lovely weekend! |
Just keep this pull requests as is. We have so many repos, that probably I am confused myself what is where :-) we do have multiple actions repos in multiple orgs, and many similar actions all over the place. Hence will check where this needs to land to propagate everywhere. Plus this will need to be tested as CI of GitHub actions themselves is complicated. |
Found I needed to specify the workdir in my pipelines, but the apko build action defaulted to
--workdir ${{ github.workspace }} \I needed a way to change the workdir.
This change adds an additional input variable:
if the value isnt set then the default remains as
${{ github.workspace }}This change matches other changuard actions. melange build actions
example of usage