Skip to content

Commit 02a8861

Browse files
committed
Merge branch 'master' of /Users/joe/Dev/php-dev with conflicts.
1 parent cd3fb9d commit 02a8861

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

build/hooks/_common

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
#!/usr/bin/env bash
22

3-
if [ -n "${DOCKER_TAG}" ]; then
4-
echo "DOCKER_TAG: ${DOCKER_TAG}"
3+
echo
4+
echo "************************************************"
5+
echo " Build/Testing Environment variables"
6+
echo "************************************************"
7+
echo "SOURCE_BRANCH: ${SOURCE_BRANCH}"
8+
echo "SOURCE_COMMIT: ${SOURCE_COMMIT}"
9+
echo "COMMIT_MSG: ${COMMIT_MSG}"
10+
echo "DOCKER_REPO: ${DOCKER_REPO}"
11+
echo "DOCKERFILE_PATH: ${DOCKERFILE_PATH}"
12+
echo "DOCKER_TAG: ${DOCKER_TAG}"
13+
echo "IMAGE_NAME: ${IMAGE_NAME}"
14+
echo "************************************************"
15+
echo "Available PHP_VERSIONS: ${PHP_VERSIONS}"
16+
echo "Available PHP_VARIANTS: ${PHP_VARIANTS}"
17+
echo "************************************************"
18+
echo
519

20+
# extract version and variant from the DOCKER_TAG
21+
if [ -n "${DOCKER_TAG}" ]; then
622
php_version="${DOCKER_TAG%%-*}"
723
if [[ "${PHP_VERSIONS}" == *"$php_version"* ]]; then
824
PHP_VERSIONS="$php_version"
@@ -16,3 +32,5 @@ if [ -n "${DOCKER_TAG}" ]; then
1632
echo ">>> Set PHP_VARIANTS to: $PHP_VARIANTS"
1733
fi
1834
fi
35+
36+
echo

0 commit comments

Comments
 (0)