limbo/scripts/antithesis/publish-workload.sh
Pekka Enberg b33b4edc5f scripts: Use ANTITHESIS_REGISTRY_KEY for Antithesis login
We can now use that as Github actions secret too.
2025-06-19 14:22:24 +03:00

19 lines
399 B
Bash
Executable file

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