Skip to content

Commit

Permalink
fix(.github): Use matrix strategy for docker build & push
Browse files Browse the repository at this point in the history
Signed-off-by: Diwank Singh Tomer <[email protected]>
  • Loading branch information
creatorrr committed Apr 17, 2024
1 parent d0ef438 commit 4128299
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/push-to-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@ jobs:
Build-Push-Images-To-Docker-Hub:
runs-on: ubuntu-latest

strategy:
matrix:
directory: [agents-api, model-serving, gateway, memory-store]

steps:
- uses: actions/checkout@v4

- uses: whoan/docker-build-with-cache-action@v5
with:
username: julepai
password: "${{ secrets.DOCKER_HUB_PASSWORD }}"
compose_file: docker-compose.yml
compose_file: "${{ matrix.directory }}/docker-compose.yml"

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit 4128299

Please sign in to comment.