From c3f9ced0f20aaf9f05800cafe3d9a7d22039bfe1 Mon Sep 17 00:00:00 2001 From: xiao Date: Fri, 15 Nov 2024 15:32:44 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=96=B0=E7=9A=84?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E5=92=8C=E6=8E=A8=E9=80=81=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 新增了一个针对 btpanel/baota:latest-debian12 镜像的构建和推送流程,包括对应的 docker.yml 导入和环境变量设置。 --- .cnb.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.cnb.yml b/.cnb.yml index 2c5e11f..4aec2c7 100644 --- a/.cnb.yml +++ b/.cnb.yml @@ -62,6 +62,31 @@ $: password: $CNB_TOKEN target: ${IMAGE_TAG} 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: - linux/amd64 - linux/arm64 \ No newline at end of file