Skip to content

Commit

Permalink
Directly list all Containerfile and Dockerfile files
Browse files Browse the repository at this point in the history
Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
  • Loading branch information
ygalblum authored and eranco74 committed Sep 4, 2023
1 parent 4ba1c9e commit b859c2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skipper/utils.py
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ def configure_logging(name, level):


def get_images_from_dockerfiles():
dockerfiles = glob.glob(image_to_dockerfile('*'))
dockerfiles = glob.glob("Containerfile.*") + glob.glob("Dockerfile.*")
images = {dockerfile_to_image(dockerfile): dockerfile for dockerfile in dockerfiles}
return images

0 comments on commit b859c2f

Please sign in to comment.