mirror of
https://github.com/Misterblue/opensim-docker.git
synced 2026-07-31 04:02:17 +00:00
Update image-opensim to new configuration and building setup.
This commit is contained in:
@@ -4,16 +4,16 @@
|
||||
|
||||
# The repository image name can be over-ridden with the environment variable REPO_IMAGE.
|
||||
|
||||
export DOCKER_REPOSITORY=${DOCKER_REPOSITORY:-misterblue}
|
||||
export IMAGE_OWNER=${IMAGE_OWNER:-misterblue}
|
||||
export IMAGE_NAME=${IMAGE_NAME:-opensim-opensim}
|
||||
export IMAGE_VERSION=${IMAGE_VERSION:-latest}
|
||||
|
||||
VERSIONLABEL=$(docker run --rm --entrypoint /home/opensim/getVersion.sh opensim-opensim VERSION_TAG)
|
||||
VERSIONLABEL=$(docker run --rm --entrypoint /home/opensim/getVersion.sh ${IMAGE_NAME}:${IMAGE_VERSION} OS_BRANCH)
|
||||
|
||||
echo "Pushing docker image for opensim version ${VERSIONLABEL}"
|
||||
|
||||
for tagg in ${VERSIONLABEL} ${IMAGE_VERSION} ; do
|
||||
IMAGE=${DOCKER_REPOSITORY}/${IMAGE_NAME}:${tagg}
|
||||
IMAGE=${IMAGE_OWNER}/${IMAGE_NAME}:${tagg}
|
||||
docker tag ${IMAGE_NAME} ${IMAGE}
|
||||
echo " Pushing ${IMAGE}"
|
||||
docker push ${IMAGE}
|
||||
|
||||
Reference in New Issue
Block a user