From 00df2ebbcbb13e8b188f72f95f739d4651db18b8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Nov 2021 06:03:27 +0000 Subject: [PATCH 1/2] Bump home-assistant/builder from 2021.09.0 to 2021.11.4 Bumps [home-assistant/builder](https://github.com/home-assistant/builder) from 2021.09.0 to 2021.11.4. - [Release notes](https://github.com/home-assistant/builder/releases) - [Commits](https://github.com/home-assistant/builder/compare/2021.09.0...2021.11.4) --- updated-dependencies: - dependency-name: home-assistant/builder dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .github/workflows/builder.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index ae5e874..5b5475b 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -72,7 +72,7 @@ jobs: run: echo "BUILD_ARGS=--test" >> $GITHUB_ENV - name: Build plugin - uses: home-assistant/builder@2021.09.0 + uses: home-assistant/builder@2021.11.4 with: args: | $BUILD_ARGS \ From f4d84888c6f8f4db0c20267f7a7e6f9ad2d4d2ea Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 29 Nov 2021 15:39:47 +0100 Subject: [PATCH 2/2] Adjustments --- .github/workflows/builder.yml | 10 +++++----- build.json | 18 ------------------ build.yaml | 16 ++++++++++++++++ 3 files changed, 21 insertions(+), 23 deletions(-) delete mode 100644 build.json create mode 100644 build.yaml diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 5b5475b..a8083f8 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -9,7 +9,7 @@ on: branches: ["master"] paths: - Dockerfile - - build.json + - build.yaml - 'rootfs/**' env: @@ -64,8 +64,8 @@ jobs: uses: docker/login-action@v1.10.0 with: registry: ghcr.io - username: ${{ secrets.GIT_USER }} - password: ${{ secrets.GIT_TOKEN }} + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Set build arguments if: needs.init.outputs.publish == 'false' @@ -78,9 +78,9 @@ jobs: $BUILD_ARGS \ --${{ matrix.arch }} \ --target /data \ - --with-codenotary "${{ secrets.VCN_USER }}" "${{ secrets.VCN_PASSWORD }}" "${{ secrets.VCN_ORG }}" \ - --validate-from "${{ secrets.VCN_ORG }}" \ --generic ${{ needs.init.outputs.version }} + env: + CAS_API_KEY: ${{ secrets.CAS_TOKEN }} version: name: Update version diff --git a/build.json b/build.json deleted file mode 100644 index ccedd29..0000000 --- a/build.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "image": "homeassistant/{arch}-hassio-multicast", - "shadow_repository": "ghcr.io/home-assistant", - "build_from": { - "aarch64": "ghcr.io/home-assistant/aarch64-base:3.13", - "armhf": "ghcr.io/home-assistant/armhf-base:3.13", - "armv7": "ghcr.io/home-assistant/armv7-base:3.13", - "amd64": "ghcr.io/home-assistant/amd64-base:3.13", - "i386": "ghcr.io/home-assistant/i386-base:3.13" - }, - "args": { - "MDNS_REPEATER_VERSION": "1.1.2" - }, - "labels": { - "io.hass.type": "multicast", - "org.opencontainers.image.source": "https://github.com/home-assistant/plugin-multicast" - } -} diff --git a/build.yaml b/build.yaml new file mode 100644 index 0000000..a85c363 --- /dev/null +++ b/build.yaml @@ -0,0 +1,16 @@ +image: homeassistant/{arch}-hassio-multicast +shadow_repository: ghcr.io/home-assistant +build_from: + aarch64: ghcr.io/home-assistant/aarch64-base:3.13 + armhf: ghcr.io/home-assistant/armhf-base:3.13 + armv7: ghcr.io/home-assistant/armv7-base:3.13 + amd64: ghcr.io/home-assistant/amd64-base:3.13 + i386: ghcr.io/home-assistant/i386-base:3.13 +codenotary: + signer: notary@home-assistant.io + base_image: notary@home-assistant.io +args: + MDNS_REPEATER_VERSION: 1.1.2 +labels: + io.hass.type: multicast + org.opencontainers.image.source: https://github.com/home-assistant/plugin-multicast