Skip to content

no message

no message #41

Workflow file for this run

name: Build and Push Docker images
on:
push:
branches:
- master
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v1
- name: Log in to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push API Docker Image
uses: docker/build-push-action@v2
with:
context: src/api
file: ./src/api/Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/nux-server-api:latest
- name: Build and push Inference Docker Image
uses: docker/build-push-action@v2
with:
context: src/inference
file: ./src/inference/Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/nux-server-inference:latest
- name: Build and push Parse Docker Image
uses: docker/build-push-action@v2
with:
context: src/parse
file: ./src/parse/Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/nux-server-parse:latest
- name: Build and push Listener Docker Image
uses: docker/build-push-action@v2
with:
context: src/parse
file: ./src/listen/Dockerfile
push: true
tags: ghcr.io/${{ github.repository_owner }}/nux-server-listener:latest