forked from Mario1159/osic-stacks
Parallelize CI jobs
This commit is contained in:
parent
78b53daa69
commit
eef34201de
@ -5,7 +5,7 @@ on:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
dockerbuild:
|
||||
build-base:
|
||||
runs-on: [ubuntu-latest, amd64]
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
@ -42,6 +42,25 @@ jobs:
|
||||
context: .
|
||||
file: ./base/web.Dockerfile
|
||||
|
||||
build-analog-xk:
|
||||
needs: build-base
|
||||
runs-on: [ubuntu-latest, amd64]
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker BuildX
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Authentication
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.1159.cl
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build analog-xk desktop
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
@ -62,6 +81,24 @@ jobs:
|
||||
context: .
|
||||
file: ./stacks/analog-xk.Dockerfile
|
||||
|
||||
build-analog-xm:
|
||||
needs: build-base
|
||||
runs-on: [ubuntu-latest, amd64]
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker BuildX
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Authentication
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.1159.cl
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Build analog-xm desktop
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
@ -82,6 +119,25 @@ jobs:
|
||||
context: .
|
||||
file: ./stacks/analog-xm.Dockerfile
|
||||
|
||||
build-analog-heavy:
|
||||
needs: build-base
|
||||
runs-on: [ubuntu-latest, amd64]
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker BuildX
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Authentication
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.1159.cl
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build analog-heavy desktop
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
@ -102,6 +158,25 @@ jobs:
|
||||
context: .
|
||||
file: ./stacks/analog-heavy.Dockerfile
|
||||
|
||||
build-digital-ator:
|
||||
needs: build-base
|
||||
runs-on: [ubuntu-latest, amd64]
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker BuildX
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Authentication
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.1159.cl
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build digital-ator desktop
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
@ -122,6 +197,25 @@ jobs:
|
||||
context: .
|
||||
file: ./stacks/digital-ator.Dockerfile
|
||||
|
||||
build-digital-icarus:
|
||||
needs: build-base
|
||||
runs-on: [ubuntu-latest, amd64]
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker BuildX
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Authentication
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.1159.cl
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build digital-icarus desktop
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
@ -142,6 +236,25 @@ jobs:
|
||||
context: .
|
||||
file: ./stacks/digital-icarus.Dockerfile
|
||||
|
||||
build-digital-heavy:
|
||||
needs: build-base
|
||||
runs-on: [ubuntu-latest, amd64]
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker BuildX
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Authentication
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.1159.cl
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build digital-heavy desktop
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
@ -162,6 +275,25 @@ jobs:
|
||||
context: .
|
||||
file: ./stacks/digital-heavy.Dockerfile
|
||||
|
||||
build-heavy:
|
||||
needs: build-base
|
||||
runs-on: [ubuntu-latest, amd64]
|
||||
container:
|
||||
image: catthehacker/ubuntu:act-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Docker BuildX
|
||||
uses: docker/setup-buildx-action@v2
|
||||
|
||||
- name: Authentication
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: git.1159.cl
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Build heavy desktop
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user