Files
thechart/docker-build.sh
William Valentin 1d310dd081
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled
feat: Update version to 1.7.5 in Makefile, docker-build.sh, and pyproject.toml
2025-08-01 14:45:58 -07:00

21 lines
417 B
Bash
Executable File

#!/usr/bin/bash
CONTAINER_ENGINE="docker" # podman | docker
VERSION="v1.7.5"
REGISTRY="gitea-http.taildb3494.ts.net/will/thechart"
if [ "$CONTAINER_ENGINE" == "podman" ];
then
buildah build \
-t $REGISTRY:$VERSION \
--platform linux/amd64 \
--no-cache .
else
DOCKER_BUILDKIT=1 \
docker buildx build \
--platform linux/amd64 \
-t $REGISTRY:$VERSION \
--no-cache \
--push .
fi