feat: 添加新的构建和推送流程

新增了一个针对 btpanel/baota:latest-debian12 镜像的构建和推送流程,包括对应的 docker.yml 导入和环境变量设置。
This commit is contained in:
xiao 2024-11-15 15:32:44 +08:00 committed by cnb
parent 0c9522e569
commit c3f9ced0f2

View File

@ -62,6 +62,31 @@ $:
password: $CNB_TOKEN password: $CNB_TOKEN
target: ${IMAGE_TAG} target: ${IMAGE_TAG}
template: ${IMAGE_TAG}-OS-ARCH template: ${IMAGE_TAG}-OS-ARCH
platforms:
- linux/amd64
- linux/arm64
- services:
- docker
imports: https://cnb.cool/btpanel/secret/-/blob/main/docker.yml
env:
IMAGE_TAG: btpanel/baota:latest-debian12
stages:
- name: await the amd64
type: cnb:await
options:
key: build-amd64
- name: await the arm64
type: cnb:await
options:
key: build-arm64
- name: manifest
image: cnbcool/manifest
settings:
username: $DOCKER_USERNAME
password: $DOCKER_PASSWD
target: ${IMAGE_TAG}
template: ${IMAGE_TAG}-OS-ARCH
platforms: platforms:
- linux/amd64 - linux/amd64
- linux/arm64 - linux/arm64