passed/build.sh
2024-12-29 09:37:34 +01:00

16 lines
345 B
Bash
Executable file

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