From 89664e9a10558a4f4a3a3f5d42030d985328f134 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Jun 2023 11:11:48 +0200 Subject: [PATCH] Bump home-assistant/builder from 2023.06.0 to 2023.06.1 (#143) * Bump home-assistant/builder from 2023.06.0 to 2023.06.1 Bumps [home-assistant/builder](https://github.com/home-assistant/builder) from 2023.06.0 to 2023.06.1. - [Release notes](https://github.com/home-assistant/builder/releases) - [Commits](https://github.com/home-assistant/builder/compare/2023.06.0...2023.06.1) --- updated-dependencies: - dependency-name: home-assistant/builder dependency-type: direct:production ... Signed-off-by: dependabot[bot] * use cosign --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pascal Vizeli --- .github/workflows/builder.yml | 14 ++++++-------- build.yaml | 6 ++++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index eaf7cef..5a4d3ad 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -46,6 +46,10 @@ jobs: name: Build ${{ matrix.arch }} plugin needs: init runs-on: ubuntu-latest + permissions: + contents: read + packages: write + id-token: write strategy: matrix: arch: ${{ fromJson(needs.init.outputs.architectures) }} @@ -53,13 +57,6 @@ jobs: - name: Checkout the repository uses: actions/checkout@v3.5.3 - - name: Login to DockerHub - if: needs.init.outputs.publish == 'true' - uses: docker/login-action@v2.2.0 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Login to GitHub Container Registry if: needs.init.outputs.publish == 'true' uses: docker/login-action@v2.2.0 @@ -73,11 +70,12 @@ jobs: run: echo "BUILD_ARGS=--test" >> $GITHUB_ENV - name: Build plugin - uses: home-assistant/builder@2023.06.0 + uses: home-assistant/builder@2023.06.1 with: args: | $BUILD_ARGS \ --${{ matrix.arch }} \ + --cosign \ --target /data \ --generic ${{ needs.init.outputs.version }} env: diff --git a/build.yaml b/build.yaml index 7f47850..896763f 100644 --- a/build.yaml +++ b/build.yaml @@ -1,5 +1,4 @@ -image: homeassistant/{arch}-hassio-audio -shadow_repository: ghcr.io/home-assistant +image: ghcr.io/home-assistant/{arch}-hassio-audio build_from: aarch64: ghcr.io/home-assistant/aarch64-base:3.17 armhf: ghcr.io/home-assistant/armhf-base:3.17 @@ -9,6 +8,9 @@ build_from: codenotary: signer: notary@home-assistant.io base_image: notary@home-assistant.io +cosign: + base_identity: https://github.com/home-assistant/docker-base/.* + identity: https://github.com/home-assistant/plugin-audio/.* args: ALSA_LIB_VERSION: 1.2.8 ALSA_TOOLS_VERSION: 1.2.5