Skip to content

Commit

Permalink
Use ghcr.io (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli authored Mar 25, 2021
1 parent b753fe5 commit a20e710
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
if: needs.init.outputs.publish == 'true'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ secrets.GIT_USER }}
password: ${{ secrets.GIT_TOKEN }}

- name: Set build arguments
if: needs.init.outputs.publish == 'false'
run: echo "BUILD_ARGS=--test" >> $GITHUB_ENV
Expand Down
11 changes: 6 additions & 5 deletions build.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"image": "homeassistant/{arch}-hassio-multicast",
"shadow_repository": "ghcr.io/home-assistant",
"build_from": {
"aarch64": "homeassistant/aarch64-base:3.12",
"armhf": "homeassistant/armhf-base:3.12",
"armv7": "homeassistant/armv7-base:3.12",
"amd64": "homeassistant/amd64-base:3.12",
"i386": "homeassistant/i386-base:3.12"
"aarch64": "ghcr.io/home-assistant/aarch64-base:3.12",
"armhf": "ghcr.io/home-assistant/armhf-base:3.12",
"armv7": "ghcr.io/home-assistant/armv7-base:3.12",
"amd64": "ghcr.io/home-assistant/amd64-base:3.12",
"i386": "ghcr.io/home-assistant/i386-base:3.12"
},
"args": {
"MDNS_REPEATER_VERSION": "1.1.2"
Expand Down

0 comments on commit a20e710

Please sign in to comment.