Builds and pushes various components images

This commit is contained in:
Gabisonfire
2024-02-04 21:40:40 -05:00
parent 2c41657d25
commit 32dced5f72
2 changed files with 5 additions and 10 deletions

View File

@@ -4,7 +4,8 @@ on:
push:
branches:
- 'master'
- 'feat/build_workflow'
paths:
- src/**
jobs:
build-and-push:

View File

@@ -81,9 +81,7 @@ services:
- knightcrawler-network
producer:
build:
context: ../../src/producer
dockerfile: Dockerfile
image: gabisonfire/knightcrawler-producer:latest
labels:
logging: "promtail"
env_file:
@@ -93,9 +91,7 @@ services:
- knightcrawler-network
consumer:
build:
context: ../../src/node/consumer
dockerfile: Dockerfile
image: gabisonfire/knightcrawler-consumer:latest
env_file:
- .env
labels:
@@ -107,9 +103,7 @@ services:
- knightcrawler-network
addon:
build:
context: ../../src/node/addon
dockerfile: Dockerfile
image: gabisonfire/knightcrawler-addon:latest
ports:
- "7000:7000"
labels: