mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-05 04:00:02 +00:00
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
|
||||
|
||||
# The commit
|
||||
git commit -m"Upping version."
|
||||
git commit -m"Version $new_tag"
|
||||
|
||||
git push origin $new_tag
|
||||
git push
|
||||
|
@ -26,13 +26,6 @@ docker-compose build
|
|||
docker tag dev_lemmy:latest 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
|
||||
cd ../../ansible
|
||||
ansible-playbook lemmy.yml --become
|
||||
|
|
Loading…
Reference in a new issue