This repository was archived by the owner on Jun 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,11 @@ jobs:
164164 - run : |
165165 echo "CIRCLE_WORKFLOW_ID = " $CIRCLE_WORKFLOW_ID
166166 echo $PWD
167+ echo 'export BUILD_DATE=$(date '+%Y%m%d')' >> $BASH_ENV
168+ echo 'export BRANCH=4.1.3' >> $BASH_ENV # find a better place to control this.
169+ source $BASH_ENV
170+ echo BRANCH="$BRANCH"
171+
167172 - run : |
168173 echo "Check if branch is deployable (contains [deploy] in commit msg on $DEPLOY_BRANCH"
169174 echo "Job name = " $CIRCLE_JOB
@@ -185,8 +190,8 @@ jobs:
185190 echo "Build and Push Docker images"
186191 echo "Login to Docker, and setup to use a buildx builder and push built multi-arch images"
187192 docker buildx use `docker buildx create`
188- echo 'export BUILD_DATE=$(date '+%Y%m%d')' >> $BASH_ENV
189- echo 'export BRANCH=4.1.3' >> $BASH_ENV # find a better place to control this.
193+ # echo 'export BUILD_DATE=$(date '+%Y%m%d')' >> $BASH_ENV
194+ # echo 'export BRANCH=4.1.3' >> $BASH_ENV # find a better place to control this.
190195 echo BRANCH="$BRANCH"
191196 docker buildx ls
192197 docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
You can’t perform that action at this time.
0 commit comments