<commit_before><commit_msg>Adding docker push as an integration test<commit_after>#!/bin/bash

sudo dockerd -D --experimental -g graph -s "$PLUGIN_NAME" &
wait_process dockerd up

docker login "$DOCKERHUB_URL" -u cernvm -p cernvm
login_status=$?

SRC_IMAGE="atlantic777/thin_ubuntu"
DST_IMAGE="$DOCKERHUB_URL/$SRC_IMAGE-$RANDOM"

if [ "x$login_status" == "x0" ]; then
    docker pull "$SRC_IMAGE"
    docker tag "$SRC_IMAGE" "$DST_IMAGE"
    docker push "$DST_IMAGE"
    status=$?
else
    status=$login_status
fi

stop_docker
exit $status
{'fraction_non_alphanumeric': 0.12430426716141002, 'fraction_numerical': 0.0074211502782931356, 'mean_word_length': 5.0, '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': '5968132', 'n_tokens_mistral': 214, 'n_tokens_neox': 197, 'n_words': 49}