diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c20dd46..4179669 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ # https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml stages: # List of stages for jobs, and their order of execution - - build +# - build - deploy build-job: # This job runs in the build stage, which runs first. @@ -35,6 +35,6 @@ deploy-job: # This job runs in the deploy stage. environment: production script: - echo "Deploying application..." - - docker login --username=lslvxy@163.com -password-stdin < /root/docker_password registry.cn-shanghai.aliyuncs.com + - docker login --username=lslvxy@163.com --password-stdin < /root/docker_password registry.cn-shanghai.aliyuncs.com - docker build --platform linux/amd64 -t registry.cn-shanghai.aliyuncs.com/physical/physical-boot --push . - echo "Application successfully deployed."