forked from nutomic/lemmy
Adding tag to deploy.
This commit is contained in:
parent
3fdb1c5bf3
commit
024b902c21
1 changed files with 1 additions and 8 deletions
9
docker/dev/deploy.sh
vendored
9
docker/dev/deploy.sh
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue