Commit fe8cffef authored by Ulf Seltmann's avatar Ulf Seltmann
Browse files

added cache-from to build-process

parent 45d03647
Pipeline #1215 passed with stages
in 2 minutes and 44 seconds
# Changelog
## [1.2.4] - 2018-12-17
### Added
* reintroduced image-import prior to build
## [1.2.3] - 2018-11-05
### Changed
* option `--certificate-authority` is now optional, so you do not need to provide it in case your apiserver is using a valid public certificate
......@@ -38,3 +42,4 @@
[1.2.1]: https://git.sc.uni-leipzig.de/ubl/bdd_dev/webmasterei/deployer/compare/release%2F1.2.0...release%2F1.2.1
[1.2.2]: https://git.sc.uni-leipzig.de/ubl/bdd_dev/webmasterei/deployer/compare/release%2F1.2.1...release%2F1.2.2
[1.2.3]: https://git.sc.uni-leipzig.de/ubl/bdd_dev/webmasterei/deployer/compare/release%2F1.2.2...release%2F1.2.3
[1.2.4]: https://git.sc.uni-leipzig.de/ubl/bdd_dev/webmasterei/deployer/compare/release%2F1.2.3...release%2F1.2.4
......@@ -349,7 +349,7 @@ build_image() {
echo -ne "building image..."
local out
local cmd="docker build --pull"
local cmd="docker build --pull --cache-from=${image_name}"
for arg in $buildargs;do
echo "adding $arg to build command"
......@@ -438,6 +438,7 @@ fi
case $1 in
build)
import_image
build_image && save_image
;;
publish)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment