You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
514 B
28 lines
514 B
|
|
kind: pipeline
|
|
type: docker
|
|
name: test
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
steps:
|
|
- name: rcore
|
|
image: jmgcs65536/rcore:latest
|
|
commands:
|
|
- echo "hello"
|
|
|
|
- name: 远程主机部署
|
|
image: jmgcs65536/rcore:latest
|
|
settings:
|
|
script:
|
|
- echo docker run
|
|
- docker pull jmgcs65536/rcore:latest
|
|
- docker run -d -p 8080:8080 -v &PWD:/tmp jmgcs65536/rcore:latest
|
|
- cd tmp/os && make run
|
|
- echo 部署成功
|
|
trigger:
|
|
branch:
|
|
- ch1
|
|
event:
|
|
- push
|