Point to most recent earthly + cd to root on build
This commit is contained in:
parent
fce3672bc1
commit
233a2ccb2f
@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download latest earthly
|
- 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
|
- name: Earthly version
|
||||||
run: earthly --version
|
run: earthly --version
|
||||||
|
@ -8,6 +8,9 @@ VERSION="${DATE}-nightly"
|
|||||||
|
|
||||||
echo "Building Docker image ${DOCKER_IMAGE}..."
|
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}
|
earthly --ci --push +docker --image="ghcr.io/owncast/${DOCKER_IMAGE}" --tag=nightly --version=${VERSION}
|
||||||
|
|
||||||
# docker push ghcr.io/owncast/${DOCKER_IMAGE}:nightly
|
# docker push ghcr.io/owncast/${DOCKER_IMAGE}:nightly
|
||||||
|
Loading…
x
Reference in New Issue
Block a user