2020-04-14 14:07:40 +00:00
|
|
|
#!/bin/sh
|
2020-06-12 13:29:50 +00:00
|
|
|
set -e
|
|
|
|
|
|
|
|
export COMPOSE_DOCKER_CLI_BUILD=1
|
|
|
|
export DOCKER_BUILDKIT=1
|
2020-04-14 14:07:40 +00:00
|
|
|
|
|
|
|
# Rebuilding dev docker
|
|
|
|
docker-compose build
|
|
|
|
docker tag dev_lemmy:latest dessalines/lemmy:test
|
|
|
|
docker push dessalines/lemmy:test
|
|
|
|
|
|
|
|
# Run the playbook
|
|
|
|
pushd ../../../lemmy-ansible
|
|
|
|
ansible-playbook -i test playbooks/site.yml --vault-password-file vault_pass
|
|
|
|
popd
|