Fix Cosign Image build (#95328)
parent
c2f7e5840b
commit
c3d02d68b7
|
@ -324,6 +324,10 @@ jobs:
|
|||
if: github.repository_owner == 'home-assistant'
|
||||
needs: ["init", "build_base"]
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout the repository
|
||||
uses: actions/checkout@v3.5.3
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/amd64-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
||||
RUN apk --no-cache add \
|
||||
libva-intel-driver
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/amd64-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
||||
# NOTE: intel-nuc will be replaced by generic-x86-64. Make sure to apply
|
||||
# changes in generic-x86-64 as well.
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/aarch64-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/aarch64-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/aarch64-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/aarch64-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/aarch64-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/armv7-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/armhf-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/aarch64-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/i386-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/amd64-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/armhf-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
||||
RUN apk --no-cache add \
|
||||
raspberrypi \
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/armv7-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
||||
RUN apk --no-cache add \
|
||||
raspberrypi \
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/armv7-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
||||
RUN apk --no-cache add \
|
||||
raspberrypi \
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/aarch64-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
||||
RUN apk --no-cache add \
|
||||
raspberrypi \
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/armv7-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
||||
RUN apk --no-cache add \
|
||||
raspberrypi \
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/aarch64-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
||||
RUN apk --no-cache add \
|
||||
raspberrypi \
|
||||
|
|
|
@ -1,2 +1,5 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/armv7-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
ARG BUILD_VERSION
|
||||
FROM homeassistant/aarch64-homeassistant:$BUILD_VERSION
|
||||
ARG \
|
||||
BUILD_FROM \
|
||||
BUILD_VERSION
|
||||
|
||||
FROM $BUILD_FROM:$BUILD_VERSION
|
||||
|
||||
RUN apk --no-cache add \
|
||||
raspberrypi \
|
||||
|
|
Loading…
Reference in New Issue