Publish Hass Remote CN #9
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 Hass Remote CN" | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'addons/hass_remote_cn/**' | |
workflow_dispatch: | |
jobs: | |
publish: | |
name: Build and publish Docker image | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: 5high | |
password: ${{ secrets.PACKAGE_TOKEN }} | |
- uses: home-assistant/builder@master | |
with: | |
args: | | |
--all \ | |
--target addons/hass_remote_cn \ | |
--docker-hub ghcr.io/5high |