<commit_before>#!/bin/bash
set -e
GIT_HASH=$(git rev-parse HEAD)
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin

docker-compose -f docker-compose.build.yml pull --ignore-pull-failures
docker-compose -f docker-compose.build.yml build --parallel
docker tag tarnadas/smmdb-build:$GIT_HASH
docker tag tarnadas/smmdb-build-dep:$GIT_HASH
docker tag tarnadas/smmdb-api-build:$GIT_HASH
docker-compose -f docker-compose.build.yml bundle --push-images

docker-compose pull --ignore-pull-failures
docker-compose build --parallel
docker tag tarnadas/smmdb:$GIT_HASH
docker tag tarnadas/smmdb-api:$GIT_HASH<commit_msg>fix docker tag command<commit_after>#!/bin/bash
set -e
GIT_HASH=$(git rev-parse HEAD)
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin

docker-compose -f docker-compose.build.yml pull --ignore-pull-failures
docker-compose -f docker-compose.build.yml build --parallel
docker tag tarnadas/smmdb-build tarnadas/smmdb-build:$GIT_HASH
docker tag tarnadas/smmdb-build-dep tarnadas/smmdb-build-dep:$GIT_HASH
docker tag tarnadas/smmdb-api-build tarnadas/smmdb-api-build:$GIT_HASH
docker-compose -f docker-compose.build.yml bundle --push-images

docker-compose pull --ignore-pull-failures
docker-compose build --parallel
docker tag tarnadas/smmdb tarnadas/smmdb:$GIT_HASH
docker tag tarnadas/smmdb-api tarnadas/smmdb-api:$GIT_HASH
{'fraction_non_alphanumeric': 0.11904761904761904, 'fraction_numerical': 0.0, 'mean_word_length': 5.191964285714286, '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': '2385849', 'n_tokens_mistral': 570, 'n_tokens_neox': 518, 'n_words': 105}