diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6cfeadb..427ffbb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,10 +46,19 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Login to GitHub Container Registry + uses: docker/login-action@v1 + with: + registry: ghcr.io + username: ${{ secrets.GIT_USER }} + password: ${{ secrets.GIT_TOKEN }} + - name: Publish ${{ matrix.architecture }} builder uses: home-assistant/builder@master with: args: | --${{ matrix.architecture }} \ --target /data \ - --generic $GIT_TAG_NAME \ No newline at end of file + --with-codenotary "${{ secrets.VCN_USER }}" "${{ secrets.VCN_PASSWORD }}" "${{ secrets.VCN_ORG }}" \ + --verify-from "${{ secrets.VCN_ORG }}" \ + --generic $GIT_TAG_NAME diff --git a/build.json b/build.json index 1a81912..a90f744 100644 --- a/build.json +++ b/build.json @@ -1,5 +1,6 @@ { "image": "homeassistant/{arch}-builder", + "shadow_repository": "ghcr.io/home-assistant", "build_from": { "aarch64": "homeassistant/aarch64-base:3.13", "armv7": "homeassistant/armv7-base:3.13", @@ -13,4 +14,4 @@ "labels": { "io.hass.type": "builder" } -} \ No newline at end of file +}