Generate werf environment variables for specified CI system.

Currently supported only GitLab CI

Syntax

werf ci-env CI_SYSTEM [options]

Examples

  # Load generated werf environment variables on GitLab job runner
  $ source <(werf ci-env gitlab --tagging-strategy tag-or-branch)

Options

      --docker-config='':
            Specify docker config directory path. Default $WERF_DOCKER_CONFIG or $DOCKER_CONFIG or  
            ~/.docker (in the order of priority)
            Command will copy specified or default (~/.docker) config to the temporary directory    
            and may perform additional login with new config
  -h, --help=false:
            help for ci-env
      --home-dir='':
            Use specified dir to store werf cache files and dirs (default $WERF_HOME or ~/.werf)
      --insecure-registry=false:
            Use plain HTTP requests when accessing a registry (default $WERF_INSECURE_REGISTRY)
      --skip-tls-verify-registry=false:
            Skip TLS certificate validation when accessing a registry (default                      
            $WERF_SKIP_TLS_VERIFY_REGISTRY)
      --tagging-strategy='':
            tag-or-branch: generate auto '--tag-git-branch' or '--tag-git-tag' tag by specified     
            CI_SYSTEM environment variables
      --tmp-dir='':
            Use specified dir to store tmp files and dirs (default $WERF_TMP_DIR or system tmp dir)
      --verbose=false:
            Generate echo command for each resulted script line