[
  {
    "path": ".github/workflows/elasticsearch.yml",
    "content": "name: Elasticsearch Docker Image CI\n\non:\n  push:\n  pull_request:\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2\n    \n    # Check if directory exists - needed because main branch doesn't contain Dockerfiles\n    # (see README.md for branch model documentation)\n    - name: Check if elasticsearch directory exists\n      id: check_dir\n      run: |\n        if [ ! -d \"elasticsearch\" ]; then\n          echo \"exists=false\" >> $GITHUB_OUTPUT\n          echo \"Directory elasticsearch does not exist, skipping build\"\n        else\n          echo \"exists=true\" >> $GITHUB_OUTPUT\n        fi\n    \n    - name: Build the Elasticsearch Docker image\n      if: steps.check_dir.outputs.exists == 'true'\n      run: docker build elasticsearch\n"
  },
  {
    "path": ".github/workflows/kibana.yml",
    "content": "name: Kibana Docker Image CI\n\non:\n  push:\n  pull_request:\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2\n    \n    # Check if directory exists - needed because main branch doesn't contain Dockerfiles\n    # (see README.md for branch model documentation)\n    - name: Check if kibana directory exists\n      id: check_dir\n      run: |\n        if [ ! -d \"kibana\" ]; then\n          echo \"exists=false\" >> $GITHUB_OUTPUT\n          echo \"Directory kibana does not exist, skipping build\"\n        else\n          echo \"exists=true\" >> $GITHUB_OUTPUT\n        fi\n    \n    - name: Build the Kibana Docker image\n      if: steps.check_dir.outputs.exists == 'true'\n      run: docker build kibana\n"
  },
  {
    "path": ".github/workflows/logstash.yml",
    "content": "name: Logstash Docker Image CI\n\non:\n  push:\n  pull_request:\n\njobs:\n\n  build:\n\n    runs-on: ubuntu-latest\n\n    steps:\n    - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2\n    \n    # Check if directory exists - needed because main branch doesn't contain Dockerfiles\n    # (see README.md for branch model documentation)\n    - name: Check if logstash directory exists\n      id: check_dir\n      run: |\n        if [ ! -d \"logstash\" ]; then\n          echo \"exists=false\" >> $GITHUB_OUTPUT\n          echo \"Directory logstash does not exist, skipping build\"\n        else\n          echo \"exists=true\" >> $GITHUB_OUTPUT\n        fi\n    \n    - name: Build the Logstash Docker image\n      if: steps.check_dir.outputs.exists == 'true'\n      run: docker build logstash\n"
  },
  {
    "path": ".github/workflows/pr_auto_approval.yml",
    "content": "on:\n    pull_request:\n      types:\n        - opened\n      branches:\n        - '*'\n\njobs:\n    approve:\n      name: Auto-approve docker push pr\n      runs-on: ubuntu-latest\n      if: |\n        startsWith(github.event.pull_request.head.ref, 'docker_files_push_') &&\n        github.event.pull_request.user.login == 'elastic-vault-github-plugin-prod[bot]'\n      permissions:\n        pull-requests: write\n        contents: write\n\n      steps:\n      - name: Debug PR info\n        run: |\n          echo \"PR Head Ref: ${{ github.event.pull_request.head.ref }}\"\n          echo \"PR User Login: ${{ github.event.pull_request.user.login }}\"\n      - name: Auto Approve\n        uses: hmarr/auto-approve-action@v3"
  },
  {
    "path": "CODEOWNERS",
    "content": "*   @elastic/release-eng"
  },
  {
    "path": "README.md",
    "content": "# Dockerfiles\n\n## About this Repository\n\nThis repo is used to store the Dockerfiles which can be used to build Docker images \nfor each product released in the stack. Those Dockerfiles were generated from the \nproducts' own repositories for which you can get the links in the sections below. \nPlease note that **issues are disabled on this repo** and that all issues and PRs \nmust be filed in the products' repositories.\n\n### Branch Model\n\nThis repository follows a **release branch model**. All Dockerfiles and related code \nare stored on branches named after the minor version (e.g., `9.2` for version 9.2.x \nreleases like 9.2.3). The `main` branch only contains this README and GitHub \nworkflows - it does not contain any Dockerfiles.\n\nTo find the Dockerfiles for a specific version:\n- Checkout the branch corresponding to the minor version (e.g., `git checkout 9.2` for 9.2.x versions)\n- The repository only contains branches for versions that have already been released\n- Development versions are not present in this repository\n\n## Elasticsearch\n\n**Elasticsearch** is a distributed, RESTful search and analytics engine capable of\nsolving a growing number of use cases. As the heart of the Elastic Stack, it\ncentrally stores your data so you can discover the expected and uncover the\nunexpected.\n\nFor more information about Elasticsearch, please visit\nhttps://www.elastic.co/products/elasticsearch.\n\n### Where to file issues and PRs\n\n- [Issues](https://github.com/elastic/elasticsearch/issues)\n- [PRs](https://github.com/elastic/elasticsearch/pulls)\n\n### Where to get help\n\n- [Elasticsearch Discuss Forums](https://discuss.elastic.co/c/elasticsearch) \n- [Elasticsearch Documentation](https://www.elastic.co/guide/en/elasticsearch/reference/master/index.html)\n\n## Kibana\n\n**Kibana** lets you visualize your Elasticsearch data and navigate the Elastic Stack, \nso you can do anything from learning why you're getting paged at 2:00 a.m. to \nunderstanding the impact rain might have on your quarterly numbers.\n\nFor more information about Kibana, please visit\nhttps://www.elastic.co/products/kibana.\n\n### Where to file issues and PRs\n\n- [Issues](https://github.com/elastic/kibana/issues)\n- [PRs](https://github.com/elastic/kibana/pulls)\n\n\n### Where to get help\n\n- [Kibana Discuss Forums](https://discuss.elastic.co/c/kibana) \n- [Kibana Documentation](https://www.elastic.co/guide/en/kibana/current/index.html)\n\n## Logstash\n\n**Logstash** is a server-side data processing pipeline that ingests data from a\nmultitude of sources simultaneously, transforms it, and then sends it to your\nfavorite \"stash.\" \n\nFor more information about Logstash, please visit\nhttps://www.elastic.co/products/logstash.\n\n### Where to file issues and PRs\n\n- [Issues](https://github.com/elastic/logstash/issues)\n- [PRs](https://github.com/elastic/logstash/pulls)\n\n### Where to get help\n\n- [Logstash Discuss Forums](https://discuss.elastic.co/c/logstash) \n- [Logstash Documentation](https://www.elastic.co/guide/en/logstash/current/index.html)\n\n## Still need help?\n\nYou can learn more about the Elastic Community and also understand how to get more help \nvisiting [Elastic Community](https://www.elastic.co/community).\n\n\nThis software is governed by their applicable licenses,\nand includes the full set of [free\nfeatures](https://www.elastic.co/subscriptions).\n\nView the detailed release notes\n[here](https://www.elastic.co/guide/en/elasticsearch/reference/8.17/es-release-notes.html).\n"
  }
]