Upload a image to Google's Artifact Registry.
Dockerise script that computes metrics for a given release.
# Froom root folder
export REPOSITORY=europe-west1-docker.pkg.dev/open-targets-eu-dev/ot-release-metrics
export IMAGE_NAME=metric-calculation
export TAG=latest # Modify tag as needed.
gcloud auth configure-docker
docker build -t ${REPOSITORY}/${IMAGE_NAME}:${TAG} -f metric-calculation/Dockerfile .
docker push ${REPOSITORY}/${IMAGE_NAME}:${TAG}
Dockerise Streamlit app to visualise metrics.
# From root folder
export REPOSITORY=europe-west1-docker.pkg.dev/open-targets-eu-dev/ot-release-metrics
export IMAGE_NAME=app
export TAG=latest # Modify tag as needed.
gcloud auth configure-docker
docker build -t ${REPOSITORY}/${IMAGE_NAME}:${TAG} -f streamlit-app/Dockerfile .
docker push ${REPOSITORY}/${IMAGE_NAME}:${TAG}