Files
turso/scripts/antithesis/publish-config.sh
Pekka Enberg d71a33a188 antithesis: Upload config image in GitHub Actions workflow
The Antithesis config image was not being uploaded during CI runs, only
the workload image. This caused experiment failures when the config
image expired from the registry after 6 months of inactivity.
2025-10-30 07:49:44 +02:00

20 lines
416 B
Bash
Executable File

#!/bin/sh
set -e
export DOCKER_REPO_URL=$ANTITHESIS_DOCKER_REPO
export IMAGE_NAME=limbo-config
export DOCKER_IMAGE_VERSION=antithesis-latest
export DOCKER_BUILD_ARGS="--build-arg antithesis=true"
export DOCKERFILE=stress/Dockerfile.antithesis-config
export DOCKER_DIR=stress
docker login -u _json_key https://$ANTITHESIS_DOCKER_HOST --password "$ANTITHESIS_REGISTRY_KEY"
${BASH_SOURCE%/*}/publish-docker.sh