14 lines
377 B
Bash
Executable file
14 lines
377 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo "Reseting invidious-companion repository (git reset --hard origin/HEAD)"
|
|
sh -c './reset-companion-repo.sh'
|
|
echo "Applying patches (git am ../patches/*.patch)"
|
|
sh -c './apply-patches.sh'
|
|
echo "Building container image"
|
|
|
|
docker_cmd='docker buildx build ./invidious-companion'
|
|
if eval "$docker_cmd"; then
|
|
echo "Done"
|
|
else
|
|
echo "Failed to execute $docker_cmd"
|
|
fi
|