<commit_before>on:
  push:
    branches:
      - issue-3398

name: Build and publish for issue-3398
jobs:
  docker_build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/checkout@v2
        with:
          repository: calyptia/fluent-bit-ci
          path: ci

      - name: Setup environment
        run: |
          sudo apt-get --yes update
          sudo apt-get install --yes docker.io containerd runc
          sudo systemctl unmask docker && sudo systemctl start docker

      - name: Login to Docker Hub
        uses: docker/login-action@v1
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}

      - name: Build a docker image for master branch
        run: |
          docker build --no-cache -f ./dockerfiles/Dockerfile.${{ env.arch }}-3398 -t ${{ env.dockerhub_organization }}/fluent-bit:${{ env.arch }}-3398 .
        env:
          arch: x86_64
          dockerhub_organization: fluentbitdev

      - name: Push image to Docker Hub
        run: |
          docker push ${{ env.dockerhub_organization }}/fluent-bit:${{ env.arch }}-3398
        env:
          arch: x86_64
          dockerhub_organization: fluentbitdev

  run-long-running:
    name: run long-running integration tests on GCP - k8s ${{ matrix.k8s-release }}
    needs: docker_build
    strategy:<commit_msg>workflows: enable docker buildkit<commit_after>on:
  push:
    branches:
      - issue-3398

name: Build and publish for issue-3398
jobs:
  docker_build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/checkout@v2
        with:
          repository: calyptia/fluent-bit-ci
          path: ci

      - name: Setup environment
        run: |
          sudo apt-get --yes update
          sudo apt-get install --yes docker.io containerd runc
          sudo systemctl unmask docker && sudo systemctl start docker

      - name: Login to Docker Hub
        uses: docker/login-action@v1
        with:
          username: ${{ secrets.DOCKERHUB_USERNAME }}
          password: ${{ secrets.DOCKERHUB_TOKEN }}

      - name: Build a docker image for master branch
        run: |
          DOCKER_BUILDKIT=1 docker build --no-cache -f ./dockerfiles/Dockerfile.${{ env.arch }}-3398 -t ${{ env.dockerhub_organization }}/fluent-bit:${{ env.arch }}-3398 .
        env:
          arch: x86_64
          dockerhub_organization: fluentbitdev

      - name: Push image to Docker Hub
        run: |
          DOCKER_BUILDKIT=1 docker push ${{ env.dockerhub_organization }}/fluent-bit:${{ env.arch }}-3398
        env:
          arch: x86_64
          dockerhub_organization: fluentbitdev

  run-long-running:
    name: run long-running integration tests on GCP - k8s ${{ matrix.k8s-release }}
    needs: docker_build
    strategy:
{'fraction_non_alphanumeric': 0.10049019607843138, 'fraction_numerical': 0.023809523809523808, 'mean_word_length': 2.065450643776824, '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': '4908718', 'n_tokens_mistral': 965, 'n_tokens_neox': 861, 'n_words': 236}