stages: - name: compile steps: - runScriptConfig: image: docker.qianqiusoft.com/library/golang-builder:1.13-alpine shellScript: |- go build -mod=vendor echo "begin tar" tar zcf light-dauth.tar.gz light-dauth - name: build-image steps: - publishImageConfig: dockerfilePath: ./Dockerfile buildContext: . tag: docker.qianqiusoft.com/qianqiusoft/light-dauth:${CICD_GIT_TAG} pushRemote: true registry: docker.qianqiusoft.com when: event: include: - tag timeout: 60 notification: recipients: - recipient: HuangRuiFeng notifier: c-k65bx:n-qxzmv - recipient: ZhangJinQiang notifier: c-k65bx:n-qxzmv condition: - Success - Changed - Failed