mirror of
https://github.com/zokradonh/kopano-docker.git
synced 2026-08-11 16:32:59 +00:00
smaller improvements to setup.sh (#153)
* replace bash function to list docker tags with https://github.com/genuinetools/reg/ * this depends on new release in https://github.com/genuinetools/reg/issues/186 to fully function * update docker version * fix version.sh to also show versions from repos defined in .env * add script to list available tags and update values in .env * define default values for all version vars * add previously missing containers * use command instead of hash in update env script * use a custom select function instead shell builtin (since it does not handle default values) * add setup-update-tag in test.exp
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
SHELL := /bin/bash # Use bash syntax
|
||||
|
||||
# if not run in travis, get docker_login and _pwd from file
|
||||
ifndef TRAVIS
|
||||
docker_repo := zokradonh
|
||||
@@ -174,6 +176,7 @@ tag-all: build-all ## Helper target to create tags for all images.
|
||||
|
||||
tag-container: component ?= base
|
||||
tag-container: ## Helper target to tag a given image. Defaults to the base image.
|
||||
# TODO how to tag additional releases. e.g. also tag 8.7.80.1035 as 8.7.80?
|
||||
@echo 'create tag $($(component)_version)'
|
||||
docker tag $(docker_repo)/kopano_$(component) $(docker_repo)/kopano_$(component):${$(component)_version}
|
||||
@echo $(docker_repo)/kopano_$(component):${$(component)_version} >> $(TAG_FILE)
|
||||
|
||||
Reference in New Issue
Block a user