Skip to content

fix: Formatting

fix: Formatting #12

Workflow file for this run

name: mqtt-inspector
on:
push:
branches:
- master
jobs:
build:
uses: ./.github/workflows/reusable-build.yaml
deploy:
runs-on: ubuntu-22.04
container:
image: docker:23.0
needs:
- build
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: svelte-app
path: wwwroot
- uses: actions/download-artifact@v3
with:
name: rust-app
path: backend/target/release
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build docker image latest and deploy
run: |
docker build -t ghcr.io/klawr/mqtt-inspector:latest .
docker push ghcr.io/klawr/mqtt-inspector:latest