<commit_before>name: Docker

on:
  workflow_dispatch:
  schedule:
    - cron:  '0 4 * * 6' # utc for midnignt saturday
  push:
    branches:
      - 'master'

jobs:
  docker:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3.0.2
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v1
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: base
        uses: docker/build-push-action@v2
        with:
          context: base/
          push: true
          tags: project5/base:latest
      -
        name: build
        uses: docker/build-push-action@v2
        with:
          context: build/
          push: true
          tags: project5/build:latest
      -
        name: dev
        uses: docker/build-push-action@v2
        with:
          context: dev/
          push: true
          tags: project5/dev:latest
      -
        name: dind<commit_msg>Bump docker/setup-buildx-action from 1 to 2<commit_after>name: Docker

on:
  workflow_dispatch:
  schedule:
    - cron:  '0 4 * * 6' # utc for midnignt saturday
  push:
    branches:
      - 'master'

jobs:
  docker:
    runs-on: ubuntu-latest
    steps:
      -
        name: Checkout
        uses: actions/checkout@v3.0.2
      -
        name: Set up QEMU
        uses: docker/setup-qemu-action@v2
      -
        name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v2
      -
        name: Login to DockerHub
        uses: docker/login-action@v2
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}
      -
        name: base
        uses: docker/build-push-action@v2
        with:
          context: base/
          push: true
          tags: project5/base:latest
      -
        name: build
        uses: docker/build-push-action@v2
        with:
          context: build/
          push: true
          tags: project5/build:latest
      -
        name: dev
        uses: docker/build-push-action@v2
        with:
          context: dev/
          push: true
          tags: project5/dev:latest
      -
        name: dind
{'fraction_non_alphanumeric': 0.09430008382229674, 'fraction_numerical': 0.013411567476948869, 'mean_word_length': 1.4482051282051283, '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': '2538610', 'n_tokens_mistral': 795, 'n_tokens_neox': 759, 'n_words': 172}