workflow: rules: - if: $CI_COMMIT_BRANCH cache: key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" stages: - Docker-hub-build - Docker-hub-test - Docker-hub-pushtag include: - 'gitlabci/docker-hub.yml'