diff --git a/ci/Dockerfile b/ci/Dockerfile index 07db4717..4eb8c7ff 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -18,6 +18,5 @@ WORKDIR /go/src ARG GOLANGCILINT_VERSION=v1.64.5 RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCILINT_VERSION} -RUN go install github.com/kunalkushwaha/ltag@latest && rm -rf /go/src/github.com/kunalkushwaha RUN go install github.com/awalterschulze/goderive@v0.5.1 -RUN go install github.com/kunalkushwaha/ltag@v0.2.5 +RUN go install github.com/containerd/ltag@v0.3.0 diff --git a/loader/loader.go b/loader/loader.go index 322109b1..d413cba0 100644 --- a/loader/loader.go +++ b/loader/loader.go @@ -542,7 +542,7 @@ func load(ctx context.Context, configDetails types.ConfigDetails, opts *Options, return nil, errors.New("empty compose file") } - if opts.projectName == "" { + if !opts.SkipValidation && opts.projectName == "" { return nil, errors.New("project name must not be empty") }