Files
docker/latex/build-image.sh
Janis Hutz ff0160935c
Some checks failed
Create and publish container / build_container (push) Failing after 10s
Update build script
2025-12-23 07:30:02 +01:00

10 lines
187 B
Bash
Executable File

#!/bin/sh
echo "Build will be tagged with $1"
echo "Build directory is $(pwd)"
OLD_IMG=docker image ls -q "$1"
docker buildx build . -t "$1"
docker push "$1"
docker image rm "$OLD_IMG"