Owncast is released both as standalone archives that can be downloaded and installed themselves, as well as Docker images that can be pulled from Docker Hub.
The original Docker Hub image was gabekangas/owncast but it has been deprecated in favor of owncast/owncast. In the short term both images will need to be updated with new releases and in the future we can deprecate the old one.
gabekangas/owncast
and owncast/owncast
so the images can be pushed to Docker Hub.version
flag such as v0.1.0
, nightly
, develop
, etc. It will be used to identify this binary when running Owncast. You'll find the archives for this release in the dist
directory when it's complete.Run:
earthly +package-all --version="0.1.0"
Create a release on GitHub with release notes and Changelog for the version.
Upload the release archive files to the release on GitHub via the web interface.
If you require building only a single architecture you can save some time by specifying the architecture you want to build. For example, if you only want to build the 64bit amd64 Linux version you can run:
Run:
earthly +package --platform="linux/amd64"
Specify the human readable version number in the version
flag such as 0.1.0
, nightly
, develop
, etc. It will be used to identify this binary when running Owncast.
Create and push the image to Docker Hub with a list of tags. You'll want to tag the image with both the new version number and latest
.
Run: earthly --push +docker-all --images="owncast/owncast:0.1.0 owncast/owncast:latest gabekangas/owncast:0.1.0 gabekangas/owncast:latest" --version="0.1.0"
Omit --push
if you don't want to push the image to Docker Hub and want to just build and test the image locally first.
Once you have uploaded the release archive files and made the new files public and are confident the release is working and available you can update the installer script to point to the new release.
Edit the OWNCAST_VERSION
in install.sh
.
Once the installer is pointing to the new release number and Docker Hub has new images tagged as latest
the new version is released to the public.