Skip to content

[#200] Dockerize deployment of all client and server components (PoC)… #3

[#200] Dockerize deployment of all client and server components (PoC)…

[#200] Dockerize deployment of all client and server components (PoC)… #3

name: Build and Publish POC Components
on:
push:
branches:
- master
jobs:
build_and_publish:
runs-on: ubuntu-latest
strategy:
matrix:
target: [attention-broker, query-agent, link-creation-agent, link-creation-client]
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v4
with:
context: .
file: .docker/poc/Dockerfile
push: true
target: ${{ matrix.target }}
tags: trueagi/das:${{ matrix.target }}-poc