You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2023/02/22 23:13:00 UTC
[jira] [Commented] (SPARK-42033) Docker Tag Error 25 on gitlab-ci.yml trying to start GitLab Pipeline
[ https://issues.apache.org/jira/browse/SPARK-42033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17692409#comment-17692409 ]
Sean R. Owen commented on SPARK-42033:
--------------------------------------
It's spam. This guy is injecting links to some course. I'm deleting this and spam comments
> Docker Tag Error 25 on gitlab-ci.yml trying to start GitLab Pipeline
> --------------------------------------------------------------------
>
> Key: SPARK-42033
> URL: https://issues.apache.org/jira/browse/SPARK-42033
> Project: Spark
> Issue Type: Bug
> Components: Deploy
> Affects Versions: 2.1.1
> Reporter: Pankaj Nagla
> Priority: Major
>
> I'm going through the "Scalable FastAPI Application on AWS" course. My gitlab-ci.yml file is below.
> stages:
> - docker
> variables:
> DOCKER_DRIVER: overlay2
> DOCKER_TLS_CERTDIR: "/certs"
> cache:
> key: ${CI_JOB_NAME}
> paths:
> - ${CI_PROJECT_DIR}/services/talk_booking/.venv/
> build-python-ci-image:
> image: docker:19.03.0
> services:
> - docker:19.03.0-dind
> stage: docker
> before_script:
> - cd ci_cd/python/
> script:
> - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
> - docker build -t registry.gitlab.com/chris_/talk-booking:cicd-python3.9-slim .
> - docker push registry.gitlab.com/chris_/talk-booking:cicd-python3.9-slim
> My Pipeline fails with this error:
> See [https://docs.docker.com/engine/reference/commandline/login/#credentials-store]
> Login Succeeded
> $ docker build -t registry.gitlab.com/chris_/talk-booking:cicd-python3.9-slim .
> invalid argument "registry.gitlab.com/chris_/talk-booking:cicd-python3.9-slim" for "-t, --tag" flag: invalid reference format
> See 'docker build --help'.
> Cleaning up project directory and file based variables
> ERROR: Job failed: exit code 125
> It may or may not be relevant but the Container Registry for the GitLab project says there's a Docker connection error. All these problems have been discussed in this [Aws Sysops Training |https://www.igmguru.com/cloud-computing/aws-sysops-certification-training/]follow the page.
> Thanks
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org