diff --git a/app/src/main/java/io/seqera/wave/cli/App.java b/app/src/main/java/io/seqera/wave/cli/App.java index 56b5884..cb7843a 100644 --- a/app/src/main/java/io/seqera/wave/cli/App.java +++ b/app/src/main/java/io/seqera/wave/cli/App.java @@ -310,9 +310,6 @@ protected void validateArgs() { if( isEmpty(image) && isEmpty(containerFile) && isEmpty(condaFile) && condaPackages==null && isEmpty(spackFile) && spackPackages==null && isEmpty(prompt) ) throw new IllegalCliArgumentException("Provide either a image name or a container file for the Wave container to be provisioned"); - if( freeze && isEmpty(buildRepository) ) - throw new IllegalCliArgumentException("Specify the build repository where the freeze container will be pushed by using the --build-repo option"); - if( isEmpty(towerToken) && !isEmpty(buildRepository) ) throw new IllegalCliArgumentException("Specify the Tower access token required to authenticate the access to the build repository either by using the --tower-token option or the TOWER_ACCESS_TOKEN environment variable");