mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-17 09:25:50 +00:00
993489a80f
* Combine prod and dev docker setups using build-arg - Fixes #2603 * Dont use cache for release build.
15 lines
301 B
Bash
Executable File
15 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
|