mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-04 19:50:00 +00:00
Adding tag to deploy.
This commit is contained in:
parent
536313889d
commit
0e55ef7d9e
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