Run docker build as two jobs

This commit is contained in:
Ajay 2022-05-06 15:25:24 -04:00
parent 3341500fdf
commit 1146aac3c2

View file

@ -6,22 +6,19 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
build: sb-server:
name: Build docker images uses: ./.github/workflows/docker-build.yml
runs-on: ubuntu-latest with:
name: "sb-server"
steps: username: "ajayyy"
- uses: ./.github/workflows/docker-build.yml folder: "."
with: secrets:
name: "sb-server" GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
username: "ajayyy" sb-client:
folder: "." uses: ./.github/workflows/docker-build.yml
secrets: with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} name: "rsync-host"
- uses: ./.github/workflows/docker-build.yml username: "ajayyy"
with: folder: "./rsync"
name: "rsync-host" secrets:
username: "ajayyy" GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
folder: "./rsync"
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}