Skip to content

fix: 🐛 Fix env variables in example server #3

fix: 🐛 Fix env variables in example server

fix: 🐛 Fix env variables in example server #3

name: Build & Publish Docker image for example server
on:
push:
paths:
- "server-example/**"
branches:
- main
jobs:
build-publish-docker-server:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v4
with:
context: ./server-example
push: true
tags: octree/fidbee-server:latest