Deploy docker private image to compute engine instance by using GCP
问题 stages: - build - docker-push - deploy cache: paths: - node_modules/ build: stage: build image: node:latest script: - yarn install - npm run build artifacts: paths: - dist/ docker: stage: docker-push image: docker:18.09.7 services: - docker:18.09.7-dind script: - docker login --username=$DOCKER_USERNAME --password=$DOCKER_PASSWORD - docker tag $DOCKER_REPOSITORY:$CI_RUNNER_ID $DOCKER_REPOSITORY:latest - docker push $DOCKER_REPOSITORY test: stage: deploy image: google/cloud-sdk:latest script: