Skip to content

Commit

Permalink
fix(.github): Fix docker-build github action stuff
Browse files Browse the repository at this point in the history
Signed-off-by: Diwank Singh Tomer <diwank.singh@gmail.com>
  • Loading branch information
creatorrr committed Apr 17, 2024
1 parent c72584d commit b889fd6
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/push-to-hub.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
name: Build and push images to docker hub on merge to dev
run-name: ${{ github.actor }} is building and pushing images to docker hub

on: [push]
# on:
# push:
# branches:
# - "dev"
on:
push:
branches:
- "dev"

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

Expand All @@ -33,14 +28,11 @@ jobs:

- name: Build images
run: |
# cd ${{ matrix.directory }}
touch .env
docker compose build
- name: Push images
run: |
# cd ${{ matrix.directory }}
touch .env
docker compose push
concurrency:
Expand Down

0 comments on commit b889fd6

Please sign in to comment.