Skip to content

Commit

Permalink
Fixes ability to specify artifacts for image_build API
Browse files Browse the repository at this point in the history
  • Loading branch information
dkliban authored and mdellweg committed Oct 15, 2020
1 parent fcf2092 commit 873a2de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/6745.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixes ability to specify artifacts for image_build API.
2 changes: 1 addition & 1 deletion pulp_container/app/tasks/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def build_image_from_containerfile(

shutil.copy(artifact.file.path, "{}{}".format(path, val))
bud_cp = subprocess.run(
["buildah", "bud", "-f", containerfile.file.path, "-t", name],
["buildah", "bud", "-f", containerfile.file.path, "-t", name, path],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
)
Expand Down

0 comments on commit 873a2de

Please sign in to comment.