From baf11c50a7a5735ba6381cf89c448b7920a81d4a Mon Sep 17 00:00:00 2001 From: Jake Walker Date: Mon, 11 Nov 2024 18:00:31 +0000 Subject: [PATCH] initial commit --- .editorconfig | 12 ++++++++ .github/workflows/build.yml | 57 +++++++++++++++++++++++++++++++++++++ .gitignore | 1 + .gitmodules | 3 ++ LICENSE | 24 ++++++++++++++++ beeper_bridge-manager | 1 + 6 files changed, 98 insertions(+) create mode 100644 .editorconfig create mode 100644 .github/workflows/build.yml create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 LICENSE create mode 160000 beeper_bridge-manager diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5d47c21 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e57c49d --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,57 @@ +on: + push: + branches: + - main + schedule: + - cron: "0 18 * * 1" + +jobs: + build_image: + runs-on: ubuntu-latest + strategy: + matrix: + image: + - name: "beeper_bridge-manager" + context: ./beeper_bridge-manager + dockerfile: ./beeper_bridge-manager/docker/Dockerfile + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: true + - name: Docker Meta + id: meta + uses: docker/metadata-action@v5 + with: + flavor: | + latest=true + images: | + jake-walker/${{ matrix.image.name }} + ghcr.io/jake-walker/${{ matrix.image.name }} + tags: | + type=schedule + type=ref,event=branch + type=sha + - name: Setup QEMU + uses: docker/setup-qemu-action@v3 + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ vars.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Login to GitHub Container Registry + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: ${{ matrix.image.context }} + file: ${{ matrix.image.dockerfile }} + platforms: linux/amd64,linux/arm64 + push: true + tags: ${{ steps.meta.outputs.tags }} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..722d5e7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.vscode diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..4d83e7f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "beeper_bridge-manager"] + path = beeper_bridge-manager + url = https://github.com/beeper/bridge-manager.git diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..32f544a --- /dev/null +++ b/LICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + + Anyone is free to copy, modify, publish, use, compile, sell, or + distribute this software, either in source code form or as a compiled + binary, for any purpose, commercial or non-commercial, and by any + means. + + In jurisdictions that recognize copyright laws, the author or authors + of this software dedicate any and all copyright interest in the + software to the public domain. We make this dedication for the benefit + of the public at large and to the detriment of our heirs and + successors. We intend this dedication to be an overt act of + relinquishment in perpetuity of all present and future rights to this + software under copyright law. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + For more information, please refer to diff --git a/beeper_bridge-manager b/beeper_bridge-manager new file mode 160000 index 0000000..150fafd --- /dev/null +++ b/beeper_bridge-manager @@ -0,0 +1 @@ +Subproject commit 150fafded3ab51328160f34ddb0c5b0418166a4a