<commit_before>---
name: Build and Push Up Master Release Branch Image
on:
  push:
    branches:
      - master
    tag:
      - v[0-9]+.[0-9]+.[0-9]+
env:
  BUILD: prod
  VCS_REF: ${{ github.sha }}
  BRANCH: ${{ github.ref }}
  TAG: ${{ github.ref }}
jobs:
  docker_build:
    runs-on: ubuntu-latest
    steps:
      - name: Check out GitHub Repo
        uses: actions/checkout@v2
      - name: Get current date
        id: date
        run: echo "::set-output name=date::$(date -u +'%Y-%m-%dT%H:%M:%SZ')"
      - name: Build and Push to Github Packages
        uses: docker/build-push-action@v1
        with:
          username: ${{ github.actor }}
          password: ${{ secrets.GHCR_TOKEN }}
          registry: ghcr.io
          repository: ${{ github.repository }}
          build_args: BUILD=${{ env.BUILD }},BUILD_DATE=${{ steps.date.outputs.date }},VCS_REF=${{ env.VCS_REF}},BRANCH=${{ env.BRANCH}},TAG=${{ env.TAG }}
          tag_with_ref: true<commit_msg>working on release workflow<commit_after>---
name: Build and Push Up Master Release Branch Image
on:
  release:
    types: [published]
    # - v[0-9]+.[0-9]+.[0-9]+
# env:
#   BUILD: prod
#   VCS_REF: ${{ github.sha }}
#   BRANCH: ${{ github.ref }}
#   TAG: ${{ github.ref }}
jobs:
  docker_build:
    runs-on: ubuntu-latest
    steps:
      - name: Check out GitHub Repo
        uses: actions/checkout@v2
      - name: Get current date
        id: date
        run: echo "::set-output name=date::$(date -u +'%Y-%m-%dT%H:%M:%SZ')"
      - name: Build and Push to Github Packages
        uses: docker/build-push-action@v1
        with:
          username: ${{ github.actor }}
          password: ${{ secrets.GHCR_TOKEN }}
          registry: ghcr.io
          repository: ${{ github.repository }}
          build_args: BUILD=prod,BUILD_DATE=${{ steps.date.outputs.date }},VCS_REF=${{ github.sha }},BRANCH=${{ github.ref }},TAG=${{ github.ref }}
          tag_with_ref: true
{'fraction_non_alphanumeric': 0.16907216494845362, 'fraction_numerical': 0.008247422680412371, 'mean_word_length': 2.3815331010452963, 'pattern_counts': {'":': 2, '<': 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': '1657449', 'n_tokens_mistral': 704, 'n_tokens_neox': 656, 'n_words': 157}