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: push:
branches: branches:
- 'master' - 'master'
- 'feat/build_workflow' paths:
- src/**
jobs: jobs:
build-and-push: build-and-push:

View File

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