File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ jobs:
38
38
containerRegistry : cccstemp
39
39
- script : |
40
40
set -exv # Echo commands before they are run
41
- if [[ "$TAG" == *stable* ]]; then export BUILD_TYPE =stable; else export BUILD_TYPE =latest; fi
41
+ if [[ "$TAG" == *stable* ]]; then export BUILD_KIND =stable; else export BUILD_KIND =latest; fi
42
42
export VERSION=${TAG/stable}
43
43
export VERSION=${VERSION/beta/b}
44
- export SERIES="`expr $TAG : '\([0-9]\+\.[0-9]\+\.\)'`${BUILD_TYPE }"
44
+ export SERIES="`expr $TAG : '\([0-9]\+\.[0-9]\+\.\)'`${BUILD_KIND }"
45
45
46
46
if [[ "${{ parameters.workingDirectory }}" = *${{ parameters.component }} ]]
47
47
then
53
53
54
54
docker build --build-arg base=$BASE \
55
55
--build-arg version=$VERSION \
56
- --build-arg branch=$BUILD_TYPE \
57
- -t $IMAGE:$TAG -t $IMAGE:$BUILD_TYPE -t $IMAGE:$SERIES \
56
+ --build-arg branch=$BUILD_KIND \
57
+ -t $IMAGE:$TAG -t $IMAGE:$BUILD_KIND -t $IMAGE:$SERIES \
58
58
-f ${{ parameters.dockerFile }} ${{ parameters.buildContext }}
59
59
docker push $IMAGE -q --all-tags
60
60
workingDirectory: ${{ parameters.workingDirectory }}
You can’t perform that action at this time.
0 commit comments