Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Point to most recent earthly + cd to root on build

Gabe Kangas7abc1c41ff99
diff --git a/.github/workflows/docker-nightly-earthly.yaml b/.github/workflows/docker-nightly-earthly.yaml
index e1bdb662f0..5dc4922482 100644
--- a/.github/workflows/docker-nightly-earthly.yaml
+++ b/.github/workflows/docker-nightly-earthly.yaml
@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download latest earthly
- run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.14/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
+ run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.6.16/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- name: Earthly version
run: earthly --version
diff --git a/build/release/docker-nightly-earthly.sh b/build/release/docker-nightly-earthly.sh
index 523d797204..142af1d130 100755
--- a/build/release/docker-nightly-earthly.sh
+++ b/build/release/docker-nightly-earthly.sh
@@ -8,6 +8,9 @@ VERSION="${DATE}-nightly"
echo "Building Docker image ${DOCKER_IMAGE}..."
+# Change to the root directory of the repository
+cd $(git rev-parse --show-toplevel)
+
earthly --ci --push +docker --image="ghcr.io/owncast/${DOCKER_IMAGE}" --tag=nightly --version=${VERSION}
# docker push ghcr.io/owncast/${DOCKER_IMAGE}:nightly