#!/bin/bash
set -euo pipefail
docker pull ubuntu:24.04

source src/alert/tests/.env

docker build \
  --build-arg ARGUS_BUILD_UID=${ARGUS_BUILD_UID} \
  --build-arg ARGUS_BUILD_GID=${ARGUS_BUILD_GID} \
  -f src/alert/alertmanager/build/Dockerfile \
  -t argus-alertmanager:latest .

docker save -o argus-alertmanager-latest.tar argus-alertmanager:latest
