Skip to content

gitlab-ci-docker 8.0.0 does not create image build job

Describe the bug

If I upgrade the gitlab-ci-docker component in my pipeline to v8.0.0, no image build jobs are created for the pipeline. The job is created with the same .gitlab-ci.yml file using gitlab-ci-docker@v7.5.0.

Expected behavior

I would expect a docker-buildah-build job to be created in the package-build phase.

Actual behavior

All other jobs are created. Behavior is unstable as it may use the existing build image snapshot (if it exists) or may fail.

Logs and/or screenshots

image

Context & Configuration

Link to a project, pipeline or job facing the bug: (please provide one if possible)

The issue was reproduced using:

  • Version of the template: 8.0.0
  • GitLab server(s): A self-managed server v18.3.3-ee
  • GitLab runner(s): kubernetes runner

Here is the .gitlab-ci.yml file:

include:
  - component: $CI_SERVER_FQDN/to-be-continuous/docker/gitlab-ci-docker@8.0.0

I did try setting the CI/CD Variable TBC_DEFAULT_DOCKER_BUILD_TOOL to buildah just in case that would effect it, but the behavior is the same with or without that variable defined.

Edited by Ben Foster