You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
541 B
14 lines
541 B
#!/bin/sh |
|
|
|
# Docker build |
|
# Must authenticate first: https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-docker-for-use-with-github-packages#authenticating-to-github-packages |
|
DOCKER_IMAGE="owncast" |
|
DATE=$(date +"%Y%m%d") |
|
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-all --image="ghcr.io/owncast/${DOCKER_IMAGE}" --tag=nightly --version="${VERSION}"
|
|
|