Skip to content

fix: Use docker alias for goreleaser docker service

Craig Miskell requested to merge alias-docker into main

What

Use docker alias for goreleaser docker service

Why

The change to include the docker hub host: !549 (merged)) broke the usage of docker itself, which assumes there will be a service on the name 'docker'. https://docs.gitlab.com/ee/ci/services/#available-settings-for-services says that if the image names includes a hostname, we should use the 'alias' option to define a shorter name. This change does so, returning the name to the one that docker CLI commands expect which is the path of least resistance

See https://gitlab.com/gitlab-com/gl-infra/gitlab-dedicated/library/byok-status-exporter/-/jobs/6873753972 for the sort of failure we're trying to fix

Merge request reports