diff --git a/.github/workflows/docker-nightly-earthly.yaml b/.github/workflows/docker-nightly-earthly.yaml index e1bdb662f..5dc492248 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 523d79720..142af1d13 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