Files
2026-07-13 13:05:14 +08:00

12 lines
511 B
Bash
Executable File

#!/usr/bin/env bash
set -eux
VERSION=0.18.0 # Bump on each new version. Remember to update the version in the Dockerfile too.
# The build needs to run from top of repo to access the requirements.txt
cd "$(git rev-parse --show-toplevel)/rerun"
# Build and push the image to GitHub Container Registry
# buildx wants to do all of this in one step
docker buildx build --pull --platform linux/arm64,linux/amd64 -t ghcr.io/rerun-io/ci_docker -t ghcr.io/rerun-io/ci_docker:$VERSION --push -f ci_docker/Dockerfile .