按分支定义不同变量
workflow:
rules:
- if: $CI_COMMIT_BRANCH == "java8-runtime-base"
variables:
CI_IMAGE_TAG: "base"
- if: $CI_COMMIT_BRANCH == "java8-runtime-advance"
variables:
CI_IMAGE_TAG: "advance"
- if: $CI_COMMIT_BRANCH == "java8-runtime-base"
variables:
CI_IMAGE_TAG: "base"
- if: $CI_COMMIT_BRANCH == "java8-runtime-base"
variables:
CI_IMAGE_TAG: "base"
- if: $CI_COMMIT_BRANCH == "java8-runtime-base"
variables:
CI_IMAGE_TAG: "base"