From 883e7fbfa5226b26cd4667b1265040160501d673 Mon Sep 17 00:00:00 2001 From: Job79 Date: Sun, 19 Oct 2025 20:27:41 +0200 Subject: [PATCH] ci: parallize build --- .gitea/workflows/ci.yaml | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index ecfe8ef..1bdbb65 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -30,6 +30,21 @@ jobs: tags: | git.plabble.org/job79/base:${{ github.ref_name }} git.plabble.org/job79/base:latest + + go-build: + runs-on: job-latest + needs: base-build + steps: + - name: Clone repo + uses: actions/checkout@v4 + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to Registry + uses: docker/login-action@v3 + with: + registry: git.plabble.org + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push go container uses: docker/build-push-action@v5 with: @@ -39,6 +54,21 @@ jobs: tags: | git.plabble.org/job79/go:${{ github.ref_name }} git.plabble.org/job79/go:latest + + infra-build: + runs-on: job-latest + needs: base-build + steps: + - name: Clone repo + uses: actions/checkout@v4 + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to Registry + uses: docker/login-action@v3 + with: + registry: git.plabble.org + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push infra container uses: docker/build-push-action@v5 with: @@ -48,6 +78,20 @@ jobs: tags: | git.plabble.org/job79/infra:${{ github.ref_name }} git.plabble.org/job79/infra:latest + + kali-build: + runs-on: job-latest + steps: + - name: Clone repo + uses: actions/checkout@v4 + - name: Setup Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to Registry + uses: docker/login-action@v3 + with: + registry: git.plabble.org + username: ${{ secrets.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push kali container uses: docker/build-push-action@v5 with: