Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-27428

Docker login error Error: unknown flag: --config

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • No

      We're seeing this error:

       

      echo $QUAY_TOKEN | docker --config="$DOCKER_CONF" login -u="$QUAY_USER" --password-stdin quay.io 
      
      
      ++ echo **** 
      
      
      ++ docker --config=/var/lib/jenkins/workspace/service-uhc-portal-pr-check-selenium@2/build/container_workspace/.docker login -u=**** --password-stdin quay.io 
      
      
      Error: unknown flag: --config 
      
      
      teardown_docker 

       
      When trying to build service-uhc-portal. We haven't run into this on any other frontend, and they are using the same build script as everyone else.

      https://github.com/RedHatInsights/insights-frontend-builder-common/blob/master/src/frontend-build.sh#L195

      The only difference I see is that this team is using different jenkins nodes: rhel8 instead of insights:

       

      Triggered by GitLab Merge Request #4357: Eliran Malka/HAC-4265-fe-containerization-stub-scripts => master 
      
      
      Running as SYSTEM 
      
      
      [EnvInject] - Loading node environment variables. 
      
      
      Building remotely on ci-int-jenkins-worker-rhel8 i-0ec5064a23bb72959 (rhel8) in workspace /var/lib/jenkins/workspace/service-uhc-portal-pr-check-selenium@2 

       
      So I'm thinking it could be a docker version problem?

      I believe this is the jenkins job:

      https://ci.int.devshift.net/job/service-uhc-portal-pr-check-selenium/

      And the run:

      https://ci.int.devshift.net/job/service-uhc-portal-pr-check-selenium/9558/

      cc: emalka@redhat.com who reported this

      I checked everything I know how to so opening this card and will confer with the team tomorrow AM

              rh-ee-addrew Adam Drew
              rh-ee-addrew Adam Drew
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: