Skip to content

Commit 961af67

Browse files
authored
Use ghcr.io (#62)
1 parent a7607e9 commit 961af67

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/builder.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ jobs:
6060
username: ${{ secrets.DOCKERHUB_USERNAME }}
6161
password: ${{ secrets.DOCKERHUB_TOKEN }}
6262

63+
- name: Login to GitHub Container Registry
64+
if: needs.init.outputs.publish == 'true'
65+
uses: docker/login-action@v1
66+
with:
67+
registry: ghcr.io
68+
username: ${{ secrets.GIT_USER }}
69+
password: ${{ secrets.GIT_TOKEN }}
70+
6371
- name: Set build arguments
6472
if: needs.init.outputs.publish == 'false'
6573
run: echo "BUILD_ARGS=--test" >> $GITHUB_ENV

build.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"image": "homeassistant/{arch}-hassio-audio",
3+
"shadow_repository": "ghcr.io/home-assistant",
34
"build_from": {
4-
"aarch64": "homeassistant/aarch64-base:3.13",
5-
"armhf": "homeassistant/armhf-base:3.13",
6-
"armv7": "homeassistant/armv7-base:3.13",
7-
"amd64": "homeassistant/amd64-base:3.13",
8-
"i386": "homeassistant/i386-base:3.13"
5+
"aarch64": "ghcr.io/home-assistant/aarch64-base:3.13",
6+
"armhf": "ghcr.io/home-assistant/armhf-base:3.13",
7+
"armv7": "ghcr.io/home-assistant/armv7-base:3.13",
8+
"amd64": "ghcr.io/home-assistant/amd64-base:3.13",
9+
"i386": "ghcr.io/home-assistant/i386-base:3.13"
910
},
1011
"args": {
1112
"ALSA_VERSION": "1.2.4",

0 commit comments

Comments
 (0)