Commit b9e16039 authored by 魏旭光's avatar 魏旭光

Create .rancher-pipeline.yml file

parent db6b9542
stages:
- name: compile
steps:
- runScriptConfig:
image: maven:v
shellScript: mvn clean package
- name: publish
steps:
- publishImageConfig:
dockerfilePath: ./Dockerfile
buildContext: .
tag: gsafety/demo:v3
pushRemote: true
registry: 127.0.0.1:34378
- name: deploy
steps:
- applyYamlConfig:
path: ./deployment.yaml
timeout: 60
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment