diff --git a/utils/common.go b/utils/common.go index ef22857..eef33f3 100644 --- a/utils/common.go +++ b/utils/common.go @@ -11,7 +11,7 @@ import ( // Version returns doriath version func Version() string { - return "1.2.0" + return "1.2.1" } // ResolveDir appends a path to a rootDir diff --git a/utils/docker.go b/utils/docker.go index d92f4c2..3c2733b 100644 --- a/utils/docker.go +++ b/utils/docker.go @@ -258,6 +258,9 @@ func dockerCheckTagSecondRequest(shortName, tag, authType, token string, credent return false, stacktrace.Propagate(err, "Cannot read body of request to %s", tagListURL) } if response.StatusCode != http.StatusOK { + if response.StatusCode == http.StatusNotFound { + return false, nil + } return false, stacktrace.NewError("Unexpected status: %d, response body: %s", response.StatusCode, string(responseBody)) } var tagResponse struct {