Fix logic for removing watchers in rare offline -> live state change #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Docker image | |
on: | |
push: | |
branches: [ "master" ] | |
paths: | |
- 'docker-compose.yml' | |
workflow_dispatch: | |
jobs: | |
push_to_registry: | |
name: Push Docker image to Docker Hub | |
runs-on: ubuntu-latest | |
environment: DockerDeploy | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v3 | |
- name: Log in to Docker Hub | |
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 | |
with: | |
username: minnced | |
password: ${{ secrets.DOCKER_TOKEN }} | |
- name: Build | |
run: docker compose build | |
- name: Push to Docker Hub | |
run: docker compose push |