Point to most recent earthly + cd to root on build

This commit is contained in:
Gabe Kangas
2022-06-18 20:46:05 -07:00
parent fce3672bc1
commit 233a2ccb2f
2 changed files with 4 additions and 1 deletions

View File

@@ -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