ci(.drone.yml): 更新 Docker 镜像并调整配置
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
- 修改 Docker 镜像名称,移除多余的 ":latest:latest" 标签 - 优化 .drone.yml 文件格式,调整缩进和空格
This commit is contained in:
parent
34e07ed557
commit
848a729cca
@ -24,7 +24,7 @@ steps:
|
||||
- name: run-container
|
||||
image: docker:latest
|
||||
commands:
|
||||
- docker run -d -p 8001:8001 rz/automated_api:latest:latest
|
||||
- docker run -d -p 8001:8001 rz/automated_api:latest
|
||||
|
||||
volumes:
|
||||
- name: docker-socket
|
||||
@ -33,6 +33,6 @@ volumes:
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- main
|
||||
- main
|
||||
event:
|
||||
- push
|
||||
- push
|
Loading…
Reference in New Issue
Block a user