title: generic::invalid_argument: invalid build: invalid image name "us.gcr.io/.../... could not parse reference: us.gcr.io/..../
body: <p>I'm trying to deploy a container automatically when I push to github, I enabled the functionality on GCP but it didn't work and it complains when triggered that :</p>
  <pre><code>generic::invalid_argument: invalid build: invalid image name &quot;us.gcr.io/cifar-clf/CIFAR-10_classification/cifar-clf:f2d5c55fad600b733fc5bcc84550fdd9a325b05b&quot;: could not parse reference: us.gcr.io/cifar-clf/CIFAR-10_classification/cifar-clf:f2d5c55fad600b733fc5bcc84550fdd9a325b05b
  </code></pre>
  <p>Dockerfile(in the root of the project):</p>
  <pre><code>FROM python:3.8
  
  ENV APP_HOME /app
  WORKDIR $APP_HOME
  
  COPY . ./
  
  RUN pip install -r requirements.txt
  
  EXPOSE 8080
  
  CMD python app.py
  </code></pre>
  <p>but I got the error above.</p>
  <p>For the ordinal deployement it works just fine using:</p>
  <ul>
  <li>To submit a build using Google Cloud Build</li>
  </ul>
  <pre><code>gcloud builds submit --tag gcr.io/cifar-clf/cifar-clf --project=cifar-clf
  </code></pre>
  <ul>
  <li>To deploy the container</li>
  </ul>
  <pre><code>gcloud run deploy --image gcr.io/cifar-clf/cifar-clf --platform managed --project=cifar-clf --allow-unauthenticated
  </code></pre>
  <p>Any help or advice will be appreciated, Thanks folks!</p>