mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-28 05:41:34 +00:00
Nutomic
b8a6592369
* publish docker images from main * try with separate step * redo, lots of boilerplate * try to fix syntax * unique step names * fix docker tags, remove cargo-chef * only build dev image on main branch * use `ref` for condition, as `branch` uses the target branch for PRs * consistent indents * fix tag * use lemmy-ui:dev image for `docker/dev` and `docker/federation`
12 lines
326 B
Bash
Executable file
12 lines
326 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
sudo docker build ../../ --file ../dev/volume_mount.dockerfile -t lemmy-federation:latest
|
|
|
|
for Item in alpha beta gamma delta epsilon ; do
|
|
sudo mkdir -p volumes/pictrs_$Item
|
|
sudo chown -R 991:991 volumes/pictrs_$Item
|
|
done
|
|
|
|
sudo docker-compose pull --ignore-pull-failures || true
|
|
sudo docker-compose up
|