Update .gitlab-ci.yml

- only run the CI/CD pipeline on the main branch

[skip ci]
This commit is contained in:
Fifo F. 2024-10-25 21:16:37 +00:00 committed by GitLab
parent dfda847b7e
commit effaaf803e
No known key found for this signature in database
GPG key ID: 6F64A1439362C3AA

View file

@ -17,6 +17,10 @@ variables:
GITEA_IMAGE_NAME: ${GITEA_REGISTRY}/tex-projects/${IMAGE_NAME}
DOCKER_HUB_IMAGE_NAME: ${DOCKER_HUB_USER}/${IMAGE_NAME}
workflow:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
build:
stage: build
tags: