lemmy/docker/test_deploy.sh

15 lines
360 B
Bash
Raw Permalink Normal View History

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