Skip to content

Commit be24bfa

Browse files
eryajfcnb
authored andcommitted
编辑文件 release.yml
1 parent 072d1f6 commit be24bfa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.cnb/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ $:
1111
ALIHUB_URL: registry.cn-hangzhou.aliyuncs.com
1212
ALIHUB_USERNAME: eryajf
1313
ALIHUB_IMAGE_REPONAME: eryajf
14+
imports:
15+
- https://cnb.cool/eryajf/build-env/-/blob/main/env.yaml
1416
stages:
1517
- name: 📦 构建制品
1618
timeout: 3h
@@ -38,7 +40,7 @@ $:
3840
--driver remote docker-container://buildkitd
3941
docker buildx build \
4042
-t ${ALIHUB_URL}/${ALIHUB_USERNAME}/${IMAGE_NAME} \
41-
-t ${ALIHUB_URL}/${ALIHUB_USERNAME}/${IMAGE_NAME}:${CNB_BRANCH}_`date "+%Y%m%d%H%M%S"` \
43+
-t ${ALIHUB_URL}/${ALIHUB_USERNAME}/${IMAGE_NAME}:${CNB_BRANCH} \
4244
-t ${CNB_DOCKER_REGISTRY}/${CNB_REPO_SLUG_LOWERCASE} \
43-
-t ${CNB_DOCKER_REGISTRY}/${CNB_REPO_SLUG_LOWERCASE}:${CNB_BRANCH}_`date "+%Y%m%d%H%M%S"` \
45+
-t ${CNB_DOCKER_REGISTRY}/${CNB_REPO_SLUG_LOWERCASE}:${CNB_BRANCH} \
4446
--platform=linux/arm64,linux/amd64 . --push

0 commit comments

Comments
 (0)