Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Build and push arbitrary-user patched images to 'eclipse' quay.io org…
Browse files Browse the repository at this point in the history
…anization only

Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
  • Loading branch information
ibuziuk committed Jul 26, 2019
1 parent ba89754 commit b4a78f9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cico_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,12 @@ function build_and_push() {
echo "Could not login, missing credentials for pushing to the '${ORGANIZATION}' organization"
fi

"${SCRIPT_DIR}"/arbitrary-users-patch/build_images.sh --push
echo "CICO: pushed '${TAG}' version of the arbitrary-user patched base images"
# Let's build and push arbitrary-user patched images only to 'eclipse' quay.io organization
# which is done as part of the 'centos' target execution
if [ "$TARGET" == "centos" ]; then
"${SCRIPT_DIR}"/arbitrary-users-patch/build_images.sh --push
echo "CICO: pushed '${TAG}' version of the arbitrary-user patched base images"
fi

# Let's build and push images to 'quay.io'
docker build -t ${IMAGE} -f ${DOCKERFILE} .
Expand Down

0 comments on commit b4a78f9

Please sign in to comment.