Critical issue with CI/CD

Problem to solve

Describe your question in as much detail as possible:
I used GitLab CE for about 5-6 years, after upgrading from 15.8 to 17.7 (step-by-step) I had an issue with pipeline tags.
For example, I don’t have any tag in gitlab-ci.yml file, but the pipeline is stuck because the runner with “web” (for example) tag is not available.
When I am adding tag, its starting, next time it can add another tag.

  • What are you seeing, and how does that differ from what you expect to see?
  • Consider including screenshots, error messages, and/or other helpful visuals

Steps to reproduce

Its only on my server, I don’t faced it on other instances.

Configuration

Add the CI/CD configuration from .gitlab-ci.yml and other configuration if relevant (e.g. docker-compose.yml). Alternatively, create a public GitLab.com example project that provides all necessary files to reproduce the question.


stages:
    - CREATE_DOCKER_IMAGE
    - DEPLOY
BUILDING IMAGE:
    stage: CREATE_DOCKER_IMAGE
    only:
       - demo_version
    script:
        - docker build -t "$CI_DOCKER_IMAGE" .
    
DEPLOY:
    stage: DEPLOY
    only:
       - demo_version
    before_script:
      - docker login -u "$CI_REGISTERY_USER" -p "$CI_REGISTERY_PASSWORD"
    script:
      - docker push "$CI_DOCKER_IMAGE"
    

Versions

Please select whether options apply, and add the version information.

  • Self-managed
  • GitLab.com SaaS
  • Dedicated
  • Self-hosted Runners