Skip to content

Commit

Permalink
🐛 hotfix/sld-remote-state module import
Browse files Browse the repository at this point in the history
  • Loading branch information
D10S0VSkY-OSS committed Sep 29, 2022
1 parent 8435b05 commit 725a0c9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sld-remote-state-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
- name: Build the Docker image with tags
working-directory: ./sld-remote-state
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKER_USERNAME }}/sld-remote-state:2.7.1
run: docker build . --file Dockerfile --tag ${{ secrets.DOCKER_USERNAME }}/sld-remote-state:2.8.0

- name: Docker Push with tags
#if: github.event.pull_request.merged == true
run: docker push ${{ secrets.DOCKER_USERNAME }}/sld-remote-state:2.7.1
run: docker push ${{ secrets.DOCKER_USERNAME }}/sld-remote-state:2.8.0

- name: Build the Docker image
working-directory: ./sld-remote-state
Expand Down
3 changes: 2 additions & 1 deletion play-with-sld/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ services:

# sd-remote-state
remote-state:
image: d10s0vsky/sld-remote-state:latest
build: ../../sld-remote-state/
#image: d10s0vsky/sld-remote-state:latest
entrypoint: python3 -m uvicorn main:app --host 0.0.0.0 --port 8080 --workers 4
hostname: remote-state
environment:
Expand Down
1 change: 0 additions & 1 deletion sld-remote-state/storage/mongodb.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import logging
from tkinter.messagebox import NO

import pymongo
from configs.mongo_db import settings
Expand Down

0 comments on commit 725a0c9

Please sign in to comment.