Skip to content
This repository was archived by the owner on Mar 27, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
don't append latest tag to tar path
  • Loading branch information
nkubala committed Apr 5, 2018
commit 9d5935430eda203c576e7bc65a3296e362e762ec
2 changes: 1 addition & 1 deletion pkg/util/image_prep_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ type ConfigSchema struct {

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