Skip to content

Commit

Permalink
Merge pull request #8 from ginruh/dev
Browse files Browse the repository at this point in the history
feat: added top_stories container and updated workflow
  • Loading branch information
vomaksh authored Jun 23, 2024
2 parents 29be5db + 0271abf commit 4929aeb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ jobs:
push: true
tags: ghcr.io/${{ github.repository }}/listener:latest

- name: Build and push top_stories image
id: push
uses: docker/build-push-action@v5
with:
context: .
file: src/top_stories/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}/top_stories:latest

- name: Setup ssh key
run: |
mkdir -p ~/.ssh/
Expand Down
4 changes: 4 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
services:
listener:
image: ghcr.io/ginruh/hckernews/listener:latest

top_stories:
image: ghcr.io/ginruh/hckernews/top_stories:latest
depends_on: listener

0 comments on commit 4929aeb

Please sign in to comment.