Commit e9491913 authored by Jordan Petridis's avatar Jordan Petridis 🌱

citemplate: check if the gitlab registry is enabled on the fork

If its not CI_REGISTRY_IMAGE will be null and break the job.
Instead paste a helpful message with the documentation on how
to enable the registry.

Part-of: <!316>
parent 41e979e1
Pipeline #169216 failed with stages
in 2 minutes and 25 seconds
......@@ -186,6 +186,16 @@ variables:
# check if the docker registry is enabled, else the variable will be missing
- |
if [[ -z "$CI_REGISTRY_IMAGE" ]]
echo "ERROR! Looks like your repository/fork has disabled Docker Registries."
echo "Pleae enable them by following the documentation from here:"
echo ""
exit 1
# Newer versions of podman/buildah try to set overlayfs mount options when
# using the vfs driver, and this causes errors.
- sed -i '/^mountopt =.*/d' /etc/containers/storage.conf
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment