lemmy/docker/test_deploy.sh

15 lines
301 B
Bash
Raw Normal View History

#!/bin/bash
set -e
2020-06-12 09:29:50 -04:00
export COMPOSE_DOCKER_CLI_BUILD=1
export DOCKER_BUILDKIT=1
2020-04-14 10:07:40 -04:00
# Rebuilding dev docker
sudo docker build ../ -f . -t "dessalines/lemmy:dev"
2020-09-22 12:28:16 -04:00
sudo docker push "dessalines/lemmy:dev"
2020-04-14 10:07:40 -04:00
# Run the playbook
2020-09-22 12:28:16 -04:00
# pushd ../../../lemmy-ansible
# ansible-playbook -i test playbooks/site.yml
# popd