Adding tag to deploy.

This commit is contained in:
Dessalines 2019-10-15 16:50:00 -07:00
parent 536313889d
commit 0e55ef7d9e

View file

@ -16,7 +16,7 @@ sed -i "s/dessalines\/lemmy:.*/dessalines\/lemmy:$new_tag/" ../prod/docker-compo
git add ../prod/docker-compose.yml git add ../prod/docker-compose.yml
# The commit # The commit
git commit -m"Upping version." git commit -m"Version $new_tag"
git push origin $new_tag git push origin $new_tag
git push git push
@ -26,13 +26,6 @@ docker-compose build
docker tag dev_lemmy:latest dessalines/lemmy:$new_tag docker tag dev_lemmy:latest dessalines/lemmy:$new_tag
docker push dessalines/lemmy:$new_tag docker push dessalines/lemmy:$new_tag
# Rebuilding the docker nocross
# pushd ../nocross
# docker-compose build
# docker tag nocross_lemmy:latest dessalines/lemmy:nocross-$new_tag
# docker push dessalines/lemmy:$new_tag
# popd
# Pushing to any ansible deploys # Pushing to any ansible deploys
cd ../../ansible cd ../../ansible
ansible-playbook lemmy.yml --become ansible-playbook lemmy.yml --become