using ghcr

This commit is contained in:
ari committed 2022-08-31 21:25:41 -04:00
1 parent 61270c1528
commit bb93e1e322
2 files changed
+11 -7

No files matched your search

+10 -6
View File
@@ -76,6 +76,8 @@ jobs:
needs:
- metadata
- build-web
permissions:
packages: write
strategy:
matrix:
arch:
@@ -89,11 +91,13 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v2.0.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Login to Github Container Registry
run: echo ${{ github.token }} | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin
# - name: Login to DockerHub
# uses: docker/login-action@v2.0.0
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: "Get Web build"
uses: actions/download-artifact@v1
@@ -102,7 +106,7 @@ jobs:
path: webapp/build
- name: ${{ matrix.arch }} / ${{ needs.metadata.outputs.version }}
uses: home-assistant/builder@2022.06.2
uses: home-assistant/builder@master
# continue-on-error: true
with:
args: |
+1 -1
View File
@@ -1,7 +1,7 @@
name: Shortumation
version: v0.6.3
slug: shortumation
image: asosnovsky/shortumation-{arch}
image: ghcr.io/asosnovsky/shortumation-{arch}
url: "https://github.com/asosnovsky/Shortumation"
description: "A homeassitant addon which provides better UI for automations & scripts."
arch: