Skip to content

Commit

Permalink
Support Containerfile or Dockerfile
Browse files Browse the repository at this point in the history
or any file with no file extension

Signed-off-by: Roy Golan <[email protected]>
  • Loading branch information
rgolangh committed Nov 16, 2024
1 parent 3f3dfa1 commit a532a9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/quadlet/files.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ func ListQuadlets() map[string]Quadlet {
if !de.IsDir() {
log.Debugf("quadlet file %s", de.Name())
i := strings.LastIndex(de.Name(), ".")
if i < 0 {
continue
}
switch de.Name()[i:] {
case "container", "pod", "kube":
log.Debug("container file")
Expand Down

0 comments on commit a532a9b

Please sign in to comment.