1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 03:45:02 +01:00
Files
source-to-image/hack/build-base-images.sh
Rodolfo Carvalho 68c96a9fbc Replace STI_* env vars with S2I_*
This is a careful replacement of `STI_([A-Z_]+)` with `S2I_$1` in all
*.sh files, plus references to those env vars in other files.
2016-05-16 12:16:38 +02:00

20 lines
399 B
Bash
Executable File

#!/bin/bash
# This script builds release images for use by the release build.
#
# Set S2I_IMAGE_PUSH=true to push images to a registry
#
set -o errexit
set -o nounset
set -o pipefail
S2I_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${S2I_ROOT}/hack/common.sh"
# Go to the top of the tree.
cd "${S2I_ROOT}"
# Build the images
docker build --tag openshift/sti-release "${S2I_ROOT}/images/release"