From 220a1969198e2812fe47ebdb3ca8a8ba4f8c11d7 Mon Sep 17 00:00:00 2001 From: brooke Date: Sat, 16 Aug 2025 21:16:24 -0400 Subject: [PATCH] init bitpart --- .forgejo/workflows/build.yml | 37 ++++++++++++++++++++++++++++++++++++ .gitmodules | 3 +++ bitpart/bitpart | 1 + 3 files changed, 41 insertions(+) create mode 100644 .forgejo/workflows/build.yml create mode 100644 .gitmodules create mode 160000 bitpart/bitpart diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml new file mode 100644 index 0000000..bd43024 --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,37 @@ +name: Build And Publish Docker + +on: + workflow_dispatch: + +jobs: + + build-latest: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + + - name: Install deps + run: apt update && apt install iptables -y + + - name: Set up Docker Buildx + id: buildx + uses: docker/setup-buildx-action@master + + - name: Login to Self-Hosted Registry + uses: docker/login-action@v3 + with: + registry: fung.uy + username: ${{ secrets.MYCO_REGISTRY_USER }} + password: ${{ secrets.MYCO_PERSONAL_ACCESS_TOKEN }} + + - name: Build and Push + uses: docker/build-push-action@v4 + with: + builder: ${{ steps.buildx.outputs.name }} + context: ./bitpart/ + file: ./bitpart/Dockerfile + platforms: linux/amd64 + push: true + tags: | + fung.uy/mycosystems/bitpart:latest + fung.uy/mycosystems/bitpart:1.0.0 diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..34069f1 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "bitpart/bitpart"] + path = bitpart/bitpart + url = https://github.com/throneless-tech/bitpart.git diff --git a/bitpart/bitpart b/bitpart/bitpart new file mode 160000 index 0000000..6685896 --- /dev/null +++ b/bitpart/bitpart @@ -0,0 +1 @@ +Subproject commit 66858965138cd0713f32eb0682b21239a0dce25a