Skip to content

chore: add root certificate for mqtt client #9

chore: add root certificate for mqtt client

chore: add root certificate for mqtt client #9

name: Basic Node.js and EMQX client container
on:
push:
paths:
- 'demo-nodejs-emqx/**' # Specify path to your directory
jobs:
build-and-push-nodejs-test-image:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USR }}
password: ${{ secrets.DOCKERHUB_PWD }}
- name: Build and Push
run: |
cd demo-nodejs-emqx/node/
chmod +x build.sh # Ensure the script is executable
./build.sh