Dockerhub

From Federal Burro of Information
Revision as of 15:34, 18 April 2019 by David (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Env vars

echo "SOURCE_BRANCH: the name of the branch or the tag that is currently being tested."
echo "SOURCE_BRANCH ${SOURCE_BRANCH}"

echo "SOURCE_COMMIT: the SHA1 hash of the commit being tested."
echo "SOURCE_COMMIT ${SOURCE_COMMIT}"

echo "COMMIT_MSG: the message from the commit being tested and built."
echo "COMMIT_MSG ${COMMIT_MSG}"

echo "DOCKER_REPO: the name of the Docker repository being built."
echo "DOCKER_REPO ${DOCKER_REPO}"

echo "DOCKERFILE_PATH: the dockerfile currently being built."
echo "DOCKERFILE_PATH ${DOCKERFILE_PATH}"

echo "DOCKER_TAG: the Docker repository tag being built."
echo "DOCKER_TAG ${DOCKER_TAG}"

echo "IMAGE_NAME: the name and tag of the Docker repository being built. (This variable is a combination of DOCKER_REPO:DOCKER_TAG.)"
echo "IMAGE_NAME ${IMAGE_NAME}"