Skip to content

Commit

Permalink
Add ARTIFACTDIR environment variable
Browse files Browse the repository at this point in the history
This allows recipes to generate extra output artifacts e.g. copy files
out of the rootfs. Which is not supported directly by debos

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
  • Loading branch information
sjoerdsimons committed Mar 28, 2018
1 parent 5386334 commit 8f2bc2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actions/run_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ func (run *RunAction) doRun(context debos.DebosContext) error {
if !run.Chroot {
cmd.AddEnvKey("ROOTDIR", context.Rootdir)
cmd.AddEnvKey("RECIPEDIR", context.RecipeDir)
cmd.AddEnvKey("ARTIFACTDIR", context.Artifactdir)
}
if context.Image != "" {
cmd.AddEnvKey("IMAGE", context.Image)
Expand Down

0 comments on commit 8f2bc2a

Please sign in to comment.