<commit_before>#!/bin/bash

if [ "x$1" == "x" ]; then
  CACHE="--no-cache"
else
  CACHE=""
fi

DATE=$(date +%Y%m%d.%H%M)
echo "Building docker-wordpress-nginx:trusty.$DATE"
docker build $CACHE -t="stormerider/docker-wordpress-nginx:trusty.$DATE" .
echo ""
echo "Building docker-wordpress-nginx:latest"
docker build -t="stormerider/docker-wordpress-nginx:latest" .
echo ""
#echo "Building docker-wordpress-nginx:xenial.$DATE"
#docker build $CACHE -t="stormerider/docker-wordpress-nginx:xenial.$DATE" . -f Dockerfile-xenial
#echo ""
#echo "Building docker-wordpress-nginx:xenial"
#docker build -t="stormerider/docker-wordpress-nginx:xenial" . -f Dockerfile-xenial
#echo ""
echo "Pushing docker-wordpress-nginx:trusty.$DATE"
docker push stormerider/docker-wordpress-nginx:trusty.$DATE
echo ""
echo "Pushing docker-wordpress-nginx:latest"
docker push stormerider/docker-wordpress-nginx:latest
echo ""
#echo "Pushing docker-wordpress-nginx:xenial.$DATE"
#docker push stormerider/docker-wordpress-nginx:xenial.$DATE
#echo ""
#echo "Pushing docker-wordpress-nginx:xenial"
#docker push stormerider/docker-wordpress-nginx:xenial<commit_msg>Re-enable xenial builds<commit_after>#!/bin/bash

if [ "x$1" == "x" ]; then
  CACHE="--no-cache"
else
  CACHE=""
fi

DATE=$(date +%Y%m%d.%H%M)
echo "Building docker-wordpress-nginx:trusty.$DATE"
docker build $CACHE -t="stormerider/docker-wordpress-nginx:trusty.$DATE" . && \
echo "" && \
echo "Pushing docker-wordpress-nginx:trusty.$DATE" && \
docker push stormerider/docker-wordpress-nginx:trusty.$DATE

echo ""
echo "Building docker-wordpress-nginx:latest"
docker build -t="stormerider/docker-wordpress-nginx:latest" . && \
echo "" && \
echo "Pushing docker-wordpress-nginx:latest" && \
docker push stormerider/docker-wordpress-nginx:latest

echo ""
echo "Building docker-wordpress-nginx:xenial.$DATE"
docker build $CACHE -t="stormerider/docker-wordpress-nginx:xenial.$DATE" . -f Dockerfile-xenial && \
echo "" && \
echo "Pushing docker-wordpress-nginx:xenial.$DATE" && \
docker push stormerider/docker-wordpress-nginx:xenial.$DATE

echo ""
echo "Building docker-wordpress-nginx:xenial"
docker build -t="stormerider/docker-wordpress-nginx:xenial" . -f Dockerfile-xenial && \
echo "" && \
echo "Pushing docker-wordpress-nginx:xenial" && \
docker push stormerider/docker-wordpress-nginx:xenial
{'fraction_non_alphanumeric': 0.16265060240963855, 'fraction_numerical': 0.0008605851979345956, 'mean_word_length': 5.512605042016807, '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': '269161', 'n_tokens_mistral': 929, 'n_tokens_neox': 817, 'n_words': 145}