develop
Gong 2023-08-28 17:31:02 +08:00
parent bd8328ef21
commit 294b496d53
1 changed files with 5 additions and 3 deletions

View File

@ -39,17 +39,19 @@ steps: # 定义管道的执行步骤
- name: pull_image
image: plugins/docker
settings:
registry: registry.hub.docker.com
repo: gong921123/hyperf:latest
tags:
- latest
username:
from_secret: docker_username
password:
from_secret: docker_password
commands:
- docker pull gong921123/hyperf:latest
auto_tag: true
- name: start_container
image: docker
commands:
- ls -a
- docker-compose up -d
- name: run_hyperf