Похожие чаты

I have a question. How can I only run a

GitLab CI job if a commit message ends or starts with [PUSH TO DOCKER REGISTRY] (either small/big letters)?

2 ответов

8 просмотров

Try looking into post commit git hooks and make them look for that string to detect and then send a request to gitlab’s pipeline api

only: variables: - $CI_COMMIT_MESSAGE =~ /PUSH-TO-DOCKER-REGISTRY/

Похожие вопросы

Обсуждают сегодня

Карта сайта