refactor: .devops/pcm-ac-rpc.yml
This commit is contained in:
parent
4dda2a51fd
commit
2feceb0108
|
|
@ -4,13 +4,6 @@ description: ""
|
|||
global:
|
||||
concurrent: 1
|
||||
cache: pcm_ac_rpc_cache
|
||||
param:
|
||||
- ref: registryUrl
|
||||
name: registry.cn-hangzhou.aliyuncs.com
|
||||
value: '""'
|
||||
required: false
|
||||
type: STRING
|
||||
hidden: false
|
||||
trigger:
|
||||
webhook: gitlink@1.0.0
|
||||
event:
|
||||
|
|
@ -42,7 +35,7 @@ workflow:
|
|||
env:
|
||||
CODE_PATH: git_clone_0.git_path
|
||||
IMAGE_TAG: git_clone_0.commit_id
|
||||
REGISTER_URL: global.registryUr
|
||||
REGISTER_URL: ((dev.registryUrl))
|
||||
IMAGE_ENDPOINT: '"jcce/pcm-ac-rpc"'
|
||||
script:
|
||||
- apk add --update --no-cache go docker docker-compose
|
||||
|
|
@ -65,6 +58,8 @@ workflow:
|
|||
- ""
|
||||
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o pcm-ac-rpc ./hpcac.go
|
||||
- ""
|
||||
- echo ${REGISTER_URL}
|
||||
- ""
|
||||
needs:
|
||||
- git_clone_0
|
||||
- ref: docker_buildx_build_0
|
||||
|
|
|
|||
Loading…
Reference in New Issue