-
-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (32 loc) · 1.04 KB
/
publish.yaml
File metadata and controls
35 lines (32 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: "Publish"
on:
workflow_dispatch:
release:
types: [published]
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Publish
uses: home-assistant/builder@master
with:
args: |
--all \
--target remote-backup \
--docker-user ${{ secrets.DOCKERHUB_USERNAME }} \
--docker-password ${{ secrets.DOCKERHUB_TOKEN }}
- name: 🚀 Dispatch Repository Updater update signal
uses: peter-evans/repository-dispatch@v4
with:
token: ${{ secrets.DISPATCH_TOKEN }}
repository: ikifar2012/ha-addons
event-type: update
client-payload: '{"addon": "remote-backup"}'