Separate -v and -z into two separate commands (#14420)
This commit is contained in:
parent
095a9c5523
commit
de852bd466
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ function create_release_containers {
|
|||
|
||||
# If the env var for the git tag doesn't exist or is an empty string, then we
|
||||
# won't build a container image for a cut release.
|
||||
if [ -v BUILDKITE_TAG || ! -z "${BUILDKITE_TAG}" ]; then
|
||||
if [ -v BUILDKITE_TAG ] || [ ! -z "${BUILDKITE_TAG}" ]; then
|
||||
docker build --target production \
|
||||
--cache-from="${CONTAINER_REPO}"/"${CONTAINER_APP}":builder \
|
||||
--cache-from="${CONTAINER_REPO}"/"${CONTAINER_APP}":production \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue