Closed rlopezro closed 8 years ago
Yeah, I need to retag all tags - hopefully it will fix wrong Dockerfile.
Awesome! Thanks!
Done. For the record:
tags=()
for t in `git tag`
do
git tag -d $t
git push origin :refs/tags/$t
tags=("${tags[@]}" "$t")
done
git push origin master
git push origin --tags
tags=('2.4.0rc1' '2.4.0rc2' '2.4.0rc3' '2.4.1' '2.4.1rc1' '2.4.1rc2' '2.4.2' '2.4.2rc1' '2.4.3' '2.4.3rc1' '2.4.4' '2.4.4rc1' '2.4.5' '2.4.5rc1' '2.4.6' '2.4.7');
for t in "${tags[@]}"
do
git checkout master
sed -i -e "s#^ ZABBIX_VERSION=tags.*# ZABBIX_VERSION=tags/$t \\\#" Dockerfile
git add Dockerfile
git commit -m "Tag $t"
git tag -a $t -m "Tag $t"
last=$t
done
git push origin master
git push origin --tags
..... the differences of all subversions in 2.4 just are the version number in dockerfile ?!
Yes. https://github.com/zabbix/zabbix-community-docker/blob/master/Dockerfile/zabbix-server-2.4/Dockerfile#L128 I need it for zabbix version + docker build identification.
:+1: Good desigin
The Dockerfile on the Zabbix Docker registry is different from the one in the repo for 2.4.6:
Docker Hub: https://hub.docker.com/r/zabbix/zabbix-server-2.4/~/dockerfile/
GitHub repo: https://github.com/zabbix/zabbix-community-docker/blob/master/Dockerfile/zabbix-server-2.4/Dockerfile