2022-05-28 19:55:59 +08:00
|
|
|
version: '1.0'
|
|
|
|
name: pipeline-20220528
|
|
|
|
displayName: docker-hub
|
|
|
|
triggers:
|
2022-05-28 20:55:18 +08:00
|
|
|
trigger: manual
|
2022-05-28 19:55:59 +08:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
precise:
|
|
|
|
- dev
|
|
|
|
tags:
|
|
|
|
prefix:
|
|
|
|
- v
|
|
|
|
stages:
|
|
|
|
- name: stage-1b917201
|
2022-05-28 20:02:54 +08:00
|
|
|
displayName: 容器发布
|
2022-05-28 19:55:59 +08:00
|
|
|
strategy: naturally
|
|
|
|
trigger: auto
|
|
|
|
executor: []
|
|
|
|
steps:
|
2022-05-28 20:02:54 +08:00
|
|
|
- step: execute@docker
|
|
|
|
name: execute_by_docker
|
|
|
|
displayName: 基于镜像的脚本执行
|
|
|
|
image: hub.docker.com/bash:latest
|
|
|
|
command:
|
|
|
|
- echo 'success!'
|
|
|
|
- '# 服务端'
|
|
|
|
- docker buildx build --platform linux/amd64,linux/arm64 -t jpomdocker/jpom:2.8.22 -f ./modules/server/DockerfileRelease --push .
|
|
|
|
- '#'
|
|
|
|
- docker buildx build --platform linux/amd64,linux/arm64 -t jpomdocker/jpom:latest -f ./modules/server/DockerfileRelease --push .
|
2022-05-28 19:55:59 +08:00
|
|
|
strategy:
|
|
|
|
retry: '0'
|
2022-05-28 20:14:21 +08:00
|
|
|
strategy:
|
|
|
|
blocking: true
|
2022-05-28 19:55:59 +08:00
|
|
|
permissions:
|
|
|
|
- role: admin
|
|
|
|
members: []
|