include: - project: "devops/pena-continuous-integration" file: "/templates/docker/build-template.gitlab-ci.yml" - project: "devops/pena-continuous-integration" file: "/templates/docker/clean-template.gitlab-ci.yml" - project: "devops/pena-continuous-integration" file: "/templates/docker/deploy-template.gitlab-ci.yml" stages: - clean - build - deploy clear-old-images: extends: .clean_template variables: STAGING_BRANCH: "main" PRODUCTION_BRANCH: "main" build-app: extends: .build_template variables: DOCKER_BUILD_PATH: "./Dockerfile" STAGING_BRANCH: "main" PRODUCTION_BRANCH: "main" deploy-to-staging: extends: .deploy_template variables: DEPLOY_TO: "staging" BRANCH: "main"