vintagestorydocker/build.sh
2025-03-29 11:51:57 +01:00

15 lines
328 B
Bash
Executable file

#!/usr/bin/env bash
set -e
tag_latest=git.1e99.eu/1e99/vintagestory:latest
tag_commit=git.1e99.eu/1e99/vintagestory:$(git rev-parse HEAD)
# TODO: Figure out other platforms
docker image build \
--force-rm \
--tag $tag_latest \
--tag $tag_commit \
.
docker image push $tag_latest
docker image push $tag_commit