这是我来自.gitlab-ci.yml的工作
deploy:
variables:
CI_DEBUG_TRACE: "true"
stage: deploy
image: registry.gitlab.com/gitlab-org/cloud-deploy aws-base:latest # see the note below
script:
- aws s3 ...
- aws create-deployment ...
only:
- master
部署过程失败,错误为:准备失败:引用格式(docker.go:198:0s)无效
跟踪变量对输出没有影响。
发布于 2020-05-21 15:30:29
在存储库URL和图像标记之间有一个空格。
deploy:
variables:
CI_DEBUG_TRACE: "true"
stage: deploy
image: registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:latest # see the note below
script:
- aws s3 ...
- aws create-deployment ...
only:
- master
发布于 2020-05-30 23:52:11
非常感谢。但是构建过程仍然失败。以下是新的日志:
++ export CI_DEBUG_TRACE=true
++ CI_DEBUG_TRACE=true
++ export CI_DISPOSABLE_ENVIRONMENT=true
++ CI_DISPOSABLE_ENVIRONMENT=true
++ export CI_RUNNER_VERSION=13.0.0
++ CI_RUNNER_VERSION=13.0.0
++ export CI_RUNNER_REVISION=c127439c
++ CI_RUNNER_REVISION=c127439c
++ export CI_RUNNER_EXECUTABLE_ARCH=linux/amd64
++ CI_RUNNER_EXECUTABLE_ARCH=linux/amd64
++ cd /builds/Zyubenko/humans
+ exit 0
ERROR: Job failed: exit code 1
https://stackoverflow.com/questions/61926916
复制相似问题