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