mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-30 20:00:33 +00:00
993489a80f
* Combine prod and dev docker setups using build-arg - Fixes #2603 * Dont use cache for release build.
14 lines
301 B
Bash
Executable file
14 lines
301 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
export COMPOSE_DOCKER_CLI_BUILD=1
|
|
export DOCKER_BUILDKIT=1
|
|
|
|
# Rebuilding dev docker
|
|
sudo docker build ../ -f . -t "dessalines/lemmy:dev"
|
|
sudo docker push "dessalines/lemmy:dev"
|
|
|
|
# Run the playbook
|
|
# pushd ../../../lemmy-ansible
|
|
# ansible-playbook -i test playbooks/site.yml
|
|
# popd
|