Skip to content

Commit 89664e9

Browse files
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](home-assistant/builder@2023.06.0...2023.06.1) --- updated-dependencies: - dependency-name: home-assistant/builder dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * use cosign --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Pascal Vizeli <[email protected]>
1 parent eb52fdb commit 89664e9

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/builder.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,17 @@ jobs:
4646
name: Build ${{ matrix.arch }} plugin
4747
needs: init
4848
runs-on: ubuntu-latest
49+
permissions:
50+
contents: read
51+
packages: write
52+
id-token: write
4953
strategy:
5054
matrix:
5155
arch: ${{ fromJson(needs.init.outputs.architectures) }}
5256
steps:
5357
- name: Checkout the repository
5458
uses: actions/[email protected]
5559

56-
- name: Login to DockerHub
57-
if: needs.init.outputs.publish == 'true'
58-
uses: docker/[email protected]
59-
with:
60-
username: ${{ secrets.DOCKERHUB_USERNAME }}
61-
password: ${{ secrets.DOCKERHUB_TOKEN }}
62-
6360
- name: Login to GitHub Container Registry
6461
if: needs.init.outputs.publish == 'true'
6562
uses: docker/[email protected]
@@ -73,11 +70,12 @@ jobs:
7370
run: echo "BUILD_ARGS=--test" >> $GITHUB_ENV
7471

7572
- name: Build plugin
76-
uses: home-assistant/[email protected].0
73+
uses: home-assistant/[email protected].1
7774
with:
7875
args: |
7976
$BUILD_ARGS \
8077
--${{ matrix.arch }} \
78+
--cosign \
8179
--target /data \
8280
--generic ${{ needs.init.outputs.version }}
8381
env:

build.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
image: homeassistant/{arch}-hassio-audio
2-
shadow_repository: ghcr.io/home-assistant
1+
image: ghcr.io/home-assistant/{arch}-hassio-audio
32
build_from:
43
aarch64: ghcr.io/home-assistant/aarch64-base:3.17
54
armhf: ghcr.io/home-assistant/armhf-base:3.17
@@ -9,6 +8,9 @@ build_from:
98
codenotary:
109
1110
base_image: [email protected]
11+
cosign:
12+
base_identity: https://github.com/home-assistant/docker-base/.*
13+
identity: https://github.com/home-assistant/plugin-audio/.*
1214
args:
1315
ALSA_LIB_VERSION: 1.2.8
1416
ALSA_TOOLS_VERSION: 1.2.5

0 commit comments

Comments
 (0)