<commit_before>#!/usr/bin/env bash

set -ev

container_id=$(docker-compose -f dev.yml ps -q portal)
container_image=$(docker ps --format '{{ .Image }}' --filter "id=$container_id")
tag="$1"

image_full_name="datosgobar/portal-andino:$tag"
echo $DOCKER_PASS | docker login -u="$DOCKER_USERNAME" --password-stdin
docker tag "$container_image" "$image_full_name"
echo "Deploying image $image_full_name"
docker push "$image_full_name"
echo "Deploy finished!"
exit 0<commit_msg>Actualizo lógica para conseguir el id del container de Andino en travis<commit_after>#!/usr/bin/env bash

set -ev

container_id=$(docker ps -q --filter "name=andino$")
echo Container id: $container_id
container_image=$(docker ps --format '{{ .Image }}' --filter "id=$container_id")
echo Container image name: $container_image
tag="$1"

image_full_name="datosgobar/portal-andino:$tag"
echo $DOCKER_PASS | docker login -u="$DOCKER_USERNAME" --password-stdin
docker tag "$container_image" "$image_full_name"
echo "Deploying image $image_full_name"
docker push "$image_full_name"
echo "Deploy finished!"
exit 0
{'fraction_non_alphanumeric': 0.13994439295644115, 'fraction_numerical': 0.0037071362372567192, 'mean_word_length': 6.346938775510204, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2594391', 'n_tokens_mistral': 389, 'n_tokens_neox': 368, 'n_words': 98}