Skip to content

fix: LAUNCH_DOCKER was removed from compose and config.py; added it back #5

fix: LAUNCH_DOCKER was removed from compose and config.py; added it back

fix: LAUNCH_DOCKER was removed from compose and config.py; added it back #5

name: Build and Publish Node Container
on:
push:
branches:
- main
- k-mistele/add-compose-configurations
paths:
- 'Dockerfile-node'
- 'node/**'
- '.github/**'
- '!docker-compose*'
- 'poetry.lock'
- 'pyproject.toml'
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile-node
push: true
platforms: linux/amd64,linux/arm64
tags: |
napthaai/node:latest
napthaai/node:${{ github.sha }}