github.com/GoogleContainerTools/skaffold/v2@v2.13.2/integration/testdata/build-dependencies/app1/build.sh (about) 1 #!/usr/bin/env bash 2 set -e 3 # build arg image2 is set by Skaffold to be the image built for app2 4 docker build -t "$IMAGE" --build-arg image2 . 5 if [[ "${PUSH_IMAGE}" == "true" ]]; then 6 docker push "$IMAGE" 7 fi