From 1146aac3c256c9eeff01f8b9fd8aeab1304c7e4a Mon Sep 17 00:00:00 2001 From: Ajay Date: Fri, 6 May 2022 15:25:24 -0400 Subject: [PATCH] Run docker build as two jobs --- .github/workflows/sb-server.yml | 35 +++++++++++++++------------------ 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/.github/workflows/sb-server.yml b/.github/workflows/sb-server.yml index cd8595b..18c3372 100644 --- a/.github/workflows/sb-server.yml +++ b/.github/workflows/sb-server.yml @@ -6,22 +6,19 @@ on: workflow_dispatch: jobs: - build: - name: Build docker images - runs-on: ubuntu-latest - - steps: - - uses: ./.github/workflows/docker-build.yml - with: - name: "sb-server" - username: "ajayyy" - folder: "." - secrets: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - uses: ./.github/workflows/docker-build.yml - with: - name: "rsync-host" - username: "ajayyy" - folder: "./rsync" - secrets: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + sb-server: + uses: ./.github/workflows/docker-build.yml + with: + name: "sb-server" + username: "ajayyy" + folder: "." + secrets: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + sb-client: + uses: ./.github/workflows/docker-build.yml + with: + name: "rsync-host" + username: "ajayyy" + folder: "./rsync" + secrets: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file