variables: GIT_SUBMODULE_STRATEGY: recursive stages: - build - push - clean before_script: - docker --version - docker-compose --version build: stage: build script: - make build push: stage: push only: - master script: - make push clean: stage: clean script: - make clean