ci: parallize build
Some checks failed
Build container / kali-build (push) Failing after 13s
Build container / base-build (push) Successful in 2m42s
Build container / go-build (push) Has been cancelled
Build container / infra-build (push) Has been cancelled

This commit is contained in:
Job
2025-10-19 20:27:41 +02:00
parent ceb10fc051
commit 883e7fbfa5

View File

@@ -30,6 +30,21 @@ jobs:
tags: | tags: |
git.plabble.org/job79/base:${{ github.ref_name }} git.plabble.org/job79/base:${{ github.ref_name }}
git.plabble.org/job79/base:latest 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 - name: Build and push go container
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
@@ -39,6 +54,21 @@ jobs:
tags: | tags: |
git.plabble.org/job79/go:${{ github.ref_name }} git.plabble.org/job79/go:${{ github.ref_name }}
git.plabble.org/job79/go:latest 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 - name: Build and push infra container
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
@@ -48,6 +78,20 @@ jobs:
tags: | tags: |
git.plabble.org/job79/infra:${{ github.ref_name }} git.plabble.org/job79/infra:${{ github.ref_name }}
git.plabble.org/job79/infra:latest 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 - name: Build and push kali container
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with: