File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ if [[ -n "${GIT_TAG}" ]]; then
1616 docker buildx build --build-arg " GIT_TAG=${GIT_TAG} " --progress plain --pull --push --platform " ${DOCKER_BUILD_PLATFORM} " -t ${DOCKER_REPO} :${GIT_TAG} .
1717elif [[ -n " ${GIT_BRANCH} " ]]; then
1818 if [[ " ${GIT_BRANCH} " == " master" ]]; then
19- docker buildx build --progress plain --pull --push --platform " ${DOCKER_BUILD_PLATFORM} " -t ${DOCKER_REPO} :latest .
19+ docker buildx build --build-arg " GIT_TAG= ${GIT_BRANCH} " -- progress plain --pull --push --platform " ${DOCKER_BUILD_PLATFORM} " -t ${DOCKER_REPO} :latest .
2020 else
21- docker buildx build --progress plain --pull --push --platform " ${DOCKER_BUILD_PLATFORM} " -t ${DOCKER_REPO} :${GIT_BRANCH} .
21+ docker buildx build --build-arg " GIT_TAG= ${GIT_BRANCH} " -- progress plain --pull --push --platform " ${DOCKER_BUILD_PLATFORM} " -t ${DOCKER_REPO} :${GIT_BRANCH} .
2222 fi
2323else
2424 :
You can’t perform that action at this time.
0 commit comments