This repository has been archived by the owner on Feb 16, 2024. It is now read-only.
Fix foor doorbell and camera #30
Workflow file for this run
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: Docker Image CI | |
on: | |
pull_request: | |
branches: [ "master" ] | |
types: | |
- closed | |
jobs: | |
build: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Docker login | |
env: | |
DOCKER_USER: ${{secrets.DOCKER_USER}} | |
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}} | |
run: | | |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD | |
- name: Build the Docker Image | |
run: docker build . --file Dockerfile --tag ${{secrets.DOCKER_USER}}/domoticz-google-assistant:latest | |
- name: Docker Push | |
run: docker push ${{secrets.DOCKER_USER}}/domoticz-google-assistant |