From ec17ec1ecd928dd22811413bb5c2e28515d8626f Mon Sep 17 00:00:00 2001 From: Adrien Beaudouin <3679080+adr1enbe4udou1n@users.noreply.github.com> Date: Sat, 7 Jun 2025 19:10:40 +0200 Subject: [PATCH] add build --- .gitea/workflows/build.yaml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index d8982fa..c2d3752 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -12,14 +12,24 @@ jobs: git config --global advice.detachedHead false git clone --branch 2025.05.2 --depth 1 https://codeberg.org/stagex/stagex.git $GITHUB_WORKSPACE + - name: Setup SSH + uses: MrSquaare/ssh-setup-action@v3 + with: + host: 10.0.0.101 + private-key: ${{ secrets.RUNNER_SSH_PRIVATE_KEY }} + - name: Setup SSH + uses: MrSquaare/ssh-setup-action@v3 + with: + host: 10.0.0.102 + private-key: ${{ secrets.RUNNER_SSH_PRIVATE_KEY }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - # with: - # append: | - # - endpoint: tcp://buildkit-arm64.ci.svc.cluster.local:1234 - # platforms: linux/arm64 - # driver: remote - # endpoint: tcp://buildkit-amd64.ci.svc.cluster.local:1234 + with: + append: | + - endpoint: ssh://root@10.0.0.102 + platforms: linux/arm64 + driver: remote + endpoint: ssh://root@10.0.0.101 - uses: docker/login-action@v3 with: registry: ${{ vars.CONTAINER_REGISTRY }}