diff options
author | Gabe Kangas <gabek@real-ity.com> | 2020-12-13 22:13:09 -0800 |
---|---|---|
committer | Gabe Kangas <gabek@real-ity.com> | 2020-12-13 22:29:29 -0800 |
commit | ce4cb44412a86dd7e92a7c3b74a489fd47a9c5f6 (patch) | |
tree | 8120abaae1f06d17d5895c865891f943b0a20d56 | |
parent | c04c3e851bece1a5c921c12c00f2eb4bef43bf28 (diff) |
Add latest tag to docker build
-rwxr-xr-x | build/release/build.sh | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/build/release/build.sh b/build/release/build.sh index 80fae412f..b89a59698 100755 --- a/build/release/build.sh +++ b/build/release/build.sh @@ -100,12 +100,9 @@ echo "Building Docker image ${DOCKER_IMAGE}..." # Change to the root directory of the repository cd $(git rev-parse --show-toplevel) -# Github Packages -docker build --build-arg NAME=docker --build-arg VERSION=${VERSION} --build-arg GIT_COMMIT=$GIT_COMMIT -t owncast . -f scripts/Dockerfile-build -docker tag $DOCKER_IMAGE docker.pkg.github.com/owncast/owncast/$DOCKER_IMAGE:$VERSION -docker push docker.pkg.github.com/owncast/owncast/$DOCKER_IMAGE:$VERSION -# +# Docker build +docker build --build-arg NAME=docker --build-arg VERSION=${VERSION} --build-arg GIT_COMMIT=$GIT_COMMIT -t gabekangas/owncast:$VERSION -t gabekangas/owncast:latest -t owncast . -f build/release/Dockerfile-build + # Dockerhub # You must be authenticated via `docker login` with your Dockerhub credentials first. -docker tag owncast gabekangas/owncast:$VERSION docker push gabekangas/owncast |