Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.

Commit 37c5798

Browse files
authored
Merge pull request #217 from nkubala/tar_tag
Don't append latest tag to tar path
2 parents 08044eb + 9d59354 commit 37c5798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/image_prep_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ type ConfigSchema struct {
115115

116116
func getImage(p Prepper) (Image, error) {
117117
// see if the image name has tag provided, if not add latest as tag
118-
if !HasTag(p.GetSource()) {
118+
if !IsTar(p.GetSource()) && !HasTag(p.GetSource()) {
119119
p.SetSource(p.GetSource() + LatestTag)
120120
}
121121
output.PrintToStdErr("Retrieving image %s from source %s\n", p.GetSource(), p.Name())

0 commit comments

Comments
 (0)