File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed
Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ stages:
3535 - mkdir -p extensions
3636 - cp -r ${{ dirs.erda-actions }} extensions
3737 - cp -r ${{ dirs.erda-addons }} extensions
38- - export VERSION=${{ outputs.extract-repo-version.version }}
3938 - export ERDA_VERSION=${{ outputs.extract-repo-version.major_minor_version }}
4039 - make prepare
4140 - make build-push-all
@@ -53,7 +52,6 @@ stages:
5352 alias : build-agent
5453 commands :
5554 - cd ${{ dirs.erda }}
56- - export VERSION=${{ outputs.extract-repo-version.version }}
5755 - export ERDA_VERSION=${{ outputs.extract-repo-version.major_minor_version }}
5856 - MODULE_PATH=cluster-agent make build-push-image
5957 loop :
@@ -70,7 +68,6 @@ stages:
7068 - release :
7169 alias : release-erda
7270 params :
73- tag_version : ${{ outputs.extract-repo-version.version }}
7471 check_diceyml : false
7572 cross_cluster : " true"
7673 dice_yml : ${{ dirs.erda }}/erda.yml
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ cd $(git rev-parse --show-toplevel)
3131
3232# image version and url
3333VERSION=" $( build/scripts/make-version.sh) "
34- IMAGE_TAG=" $( build/scripts/make-version.sh tag) "
34+ IMAGE_TAG=" ${IMAGE_TAG :- $ (build/ scripts/ make-version.sh tag)} "
3535DOCKERFILE_DEFAULT=" build/dockerfiles/Dockerfile"
3636BASE_DOCKER_IMAGE=" $( build/scripts/base_image.sh image) "
3737DOCKERFILE=${DOCKERFILE_DEFAULT}
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ stages:
4949 - mkdir -p extensions
5050 - cp -r ${{ dirs.erda-actions }} extensions
5151 - cp -r ${{ dirs.erda-addons }} extensions
52- - export VERSION=${{ outputs.extract-repo-version.version }}
5352 - export ERDA_VERSION=${{ outputs.extract-repo-version.major_minor_version }}
5453 - make prepare
5554 - make build-push-all
@@ -72,7 +71,6 @@ stages:
7271 - cp -r ${{ dirs.erda-addons }} extensions
7372 - cp -r ${{ dirs.erda-actions-enterprise }} extensions
7473 - cp -r ${{ dirs.erda-addons-enterprise }} extensions
75- - export VERSION=${{ outputs.extract-repo-version.version }}
7674 - export ERDA_VERSION=${{ outputs.extract-repo-version.major_minor_version }}
7775 - make prepare
7876 - make build-push-image MODULE_PATH=dicehub
@@ -90,7 +88,6 @@ stages:
9088 alias : build-agent
9189 commands :
9290 - cd ${{ dirs.erda }}
93- - export VERSION=${{ outputs.extract-repo-version.version }}
9491 - export ERDA_VERSION=${{ outputs.extract-repo-version.major_minor_version }}
9592 - MODULE_PATH=cluster-agent make build-push-image
9693 loop :
You can’t perform that action at this time.
0 commit comments