Select Git revision
-
semantic-release-bot authored
## [0.56.1](https://github.com/saltstack-formulas/mysql-formula/compare/v0.56.0...v0.56.1) (2021-08-25) ### Code Refactoring * **jinja:** improve indentation ([d09728e0](https://github.com/saltstack-formulas/mysql-formula/commit/d09728e04f0405e0e085b68210210ced9d892fe4)) ### Continuous Integration * **gemfile+lock:** use `ssf` customised `inspec` repo [skip ci] ([8f91b4f3](https://github.com/saltstack-formulas/mysql-formula/commit/8f91b4f3ecd2b9c9ee862aa607993f5b81ef4d6c)) * **kitchen+ci:** update with latest `3003.2` pre-salted images [skip ci] ([d908ad5e](https://github.com/saltstack-formulas/mysql-formula/commit/d908ad5e5558e236812860095222cdfb5f80ff08))
semantic-release-bot authored## [0.56.1](https://github.com/saltstack-formulas/mysql-formula/compare/v0.56.0...v0.56.1) (2021-08-25) ### Code Refactoring * **jinja:** improve indentation ([d09728e0](https://github.com/saltstack-formulas/mysql-formula/commit/d09728e04f0405e0e085b68210210ced9d892fe4)) ### Continuous Integration * **gemfile+lock:** use `ssf` customised `inspec` repo [skip ci] ([8f91b4f3](https://github.com/saltstack-formulas/mysql-formula/commit/8f91b4f3ecd2b9c9ee862aa607993f5b81ef4d6c)) * **kitchen+ci:** update with latest `3003.2` pre-salted images [skip ci] ([d908ad5e](https://github.com/saltstack-formulas/mysql-formula/commit/d908ad5e5558e236812860095222cdfb5f80ff08))
buildimage.sh 1.02 KiB
##/bin/bash
# arg1: sbcl version
# arg2: maxima version
# arg3: stack or moodle version: "stack-XXX" or "moodlev.X"
# arg4: LIB_PATH
# arg5: REGISTRY or dockerhub id
# arg6: version of goemaxima
#
echo "starting to build image for:"
echo "sbcl: $1"
echo "maxima: $2"
echo "stack: $3"
IMAGENAME="goemaxima:$3"
docker pull "$5/$IMAGENAME-dev"
# build it
if [ "$3" = "2017121800" ]; then
docker build -t "${IMAGENAME}" --build-arg MAXIMA_VERSION="$2" --build-arg SBCL_VERSION="$1" --build-arg LIB_PATH="$4" --build-arg "MAX_LIB_PATH=/opt/maxima/assets/maximalocal.mac" . || exit 1
else
docker build -t "${IMAGENAME}" --build-arg MAXIMA_VERSION="$2" --build-arg SBCL_VERSION="$1" --build-arg LIB_PATH="$4" . || exit 1
fi
echo "${IMAGENAME} wurde erfolgreich gebaut."
# push the image
docker tag "$IMAGENAME" "$5/$IMAGENAME-dev"
docker push "$5/$IMAGENAME-dev"
if [ -n "$6" ]; then
docker tag "$IMAGENAME" "$5/$IMAGENAME-$6"
docker push "$5/$IMAGENAME-$6"
docker tag "$IMAGENAME" "$5/$IMAGENAME-latest"
docker push "$5/$IMAGENAME-latest"
fi