update
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
|
# 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
|
stages: # List of stages for jobs, and their order of execution
|
||||||
- build
|
# - build
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
build-job: # This job runs in the build stage, which runs first.
|
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
|
environment: production
|
||||||
script:
|
script:
|
||||||
- echo "Deploying application..."
|
- 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 .
|
- docker build --platform linux/amd64 -t registry.cn-shanghai.aliyuncs.com/physical/physical-boot --push .
|
||||||
- echo "Application successfully deployed."
|
- echo "Application successfully deployed."
|
||||||
|
|||||||
Reference in New Issue
Block a user