Update the dev dockerfile and build dockerfile to fix #60
This commit is contained in:
@@ -60,9 +60,9 @@ build() {
|
||||
rm -rf dist/${NAME}/
|
||||
}
|
||||
|
||||
for i in "${!DISTRO[@]}"; do
|
||||
build ${DISTRO[$i]} ${OS[$i]} ${ARCH[$i]} $VERSION $GIT_COMMIT
|
||||
done
|
||||
# for i in "${!DISTRO[@]}"; do
|
||||
# build ${DISTRO[$i]} ${OS[$i]} ${ARCH[$i]} $VERSION $GIT_COMMIT
|
||||
# done
|
||||
|
||||
# Create the tag
|
||||
# git tag -a "v${VERSION}" -m "Release build v${VERSION}"
|
||||
@@ -77,10 +77,10 @@ done
|
||||
# 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-${VERSION}"
|
||||
# echo "Building Docker image ${DOCKER_IMAGE}..."
|
||||
|
||||
#
|
||||
# # Change to the root directory of the repository
|
||||
# cd $(git rev-parse --show-toplevel)
|
||||
|
||||
# docker build -t owncast . -t="${DOCKER_IMAGE}" -f scripts/Dockerfile-build
|
||||
#
|
||||
# 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/gabek/owncast/$DOCKER_IMAGE:$VERSION
|
||||
# docker push docker.pkg.github.com/gabek/owncast/$DOCKER_IMAGE:$VERSION
|
||||
|
||||
Reference in New Issue
Block a user