mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Update base image 2021.11.0 (#60227)
This commit is contained in:
parent
4ffb0b8380
commit
ed9d40378e
21
.github/workflows/builder.yml
vendored
21
.github/workflows/builder.yml
vendored
@ -56,9 +56,7 @@ jobs:
|
|||||||
uses: home-assistant/actions/helpers/codenotary@master
|
uses: home-assistant/actions/helpers/codenotary@master
|
||||||
with:
|
with:
|
||||||
source: file://${{ github.workspace }}/OFFICIAL_IMAGE
|
source: file://${{ github.workspace }}/OFFICIAL_IMAGE
|
||||||
user: ${{ secrets.VCN_USER }}
|
token: ${{ secrets.CAS_TOKEN }}
|
||||||
password: ${{ secrets.VCN_PASSWORD }}
|
|
||||||
organisation: home-assistant.io
|
|
||||||
|
|
||||||
build_python:
|
build_python:
|
||||||
name: Build PyPi package
|
name: Build PyPi package
|
||||||
@ -139,9 +137,9 @@ jobs:
|
|||||||
$BUILD_ARGS \
|
$BUILD_ARGS \
|
||||||
--${{ matrix.arch }} \
|
--${{ matrix.arch }} \
|
||||||
--target /data \
|
--target /data \
|
||||||
--with-codenotary "${{ secrets.VCN_USER }}" "${{ secrets.VCN_PASSWORD }}" "${{ secrets.VCN_ORG }}" \
|
|
||||||
--validate-from "${{ secrets.VCN_ORG }}" \
|
|
||||||
--generic ${{ needs.init.outputs.version }}
|
--generic ${{ needs.init.outputs.version }}
|
||||||
|
env:
|
||||||
|
CAS_API_KEY: ${{ secrets.CAS_TOKEN }}
|
||||||
|
|
||||||
build_machine:
|
build_machine:
|
||||||
name: Build ${{ matrix.machine }} machine core image
|
name: Build ${{ matrix.machine }} machine core image
|
||||||
@ -186,14 +184,14 @@ jobs:
|
|||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Build base image
|
- name: Build base image
|
||||||
uses: home-assistant/builder@2021.09.0
|
uses: home-assistant/builder@2021.11.3
|
||||||
with:
|
with:
|
||||||
args: |
|
args: |
|
||||||
$BUILD_ARGS \
|
$BUILD_ARGS \
|
||||||
--target /data/machine \
|
--target /data/machine \
|
||||||
--with-codenotary "${{ secrets.VCN_USER }}" "${{ secrets.VCN_PASSWORD }}" "${{ secrets.VCN_ORG }}" \
|
|
||||||
--validate-from "${{ secrets.VCN_ORG }}" \
|
|
||||||
--machine "${{ needs.init.outputs.version }}=${{ matrix.machine }}"
|
--machine "${{ needs.init.outputs.version }}=${{ matrix.machine }}"
|
||||||
|
env:
|
||||||
|
CAS_API_KEY: ${{ secrets.CAS_TOKEN }}
|
||||||
|
|
||||||
publish_ha:
|
publish_ha:
|
||||||
name: Publish version files
|
name: Publish version files
|
||||||
@ -248,8 +246,8 @@ jobs:
|
|||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.GITHUB_TOKEN }}
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Install VCN tools
|
- name: Install CAS tools
|
||||||
uses: home-assistant/actions/helpers/vcn@master
|
uses: home-assistant/actions/helpers/cas@master
|
||||||
|
|
||||||
- name: Build Meta Image
|
- name: Build Meta Image
|
||||||
shell: bash
|
shell: bash
|
||||||
@ -293,8 +291,7 @@ jobs:
|
|||||||
|
|
||||||
function validate_image() {
|
function validate_image() {
|
||||||
local image=${1}
|
local image=${1}
|
||||||
state="$(vcn authenticate --org home-assistant.io --output json docker://${image} | jq '.verification.status // 2')"
|
if ! cas authenticate --signerID notary@home-assistant.io; then
|
||||||
if [[ "${state}" != "0" ]]; then
|
|
||||||
echo "Invalid signature!"
|
echo "Invalid signature!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
22
build.json
22
build.json
@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"image": "homeassistant/{arch}-homeassistant",
|
|
||||||
"shadow_repository": "ghcr.io/home-assistant",
|
|
||||||
"build_from": {
|
|
||||||
"aarch64": "ghcr.io/home-assistant/aarch64-homeassistant-base:2021.09.0",
|
|
||||||
"armhf": "ghcr.io/home-assistant/armhf-homeassistant-base:2021.09.0",
|
|
||||||
"armv7": "ghcr.io/home-assistant/armv7-homeassistant-base:2021.09.0",
|
|
||||||
"amd64": "ghcr.io/home-assistant/amd64-homeassistant-base:2021.09.0",
|
|
||||||
"i386": "ghcr.io/home-assistant/i386-homeassistant-base:2021.09.0"
|
|
||||||
},
|
|
||||||
"labels": {
|
|
||||||
"io.hass.type": "core",
|
|
||||||
"org.opencontainers.image.title": "Home Assistant",
|
|
||||||
"org.opencontainers.image.description": "Open-source home automation platform running on Python 3",
|
|
||||||
"org.opencontainers.image.source": "https://github.com/home-assistant/core",
|
|
||||||
"org.opencontainers.image.authors": "The Home Assistant Authors",
|
|
||||||
"org.opencontainers.image.url": "https://www.home-assistant.io/",
|
|
||||||
"org.opencontainers.image.documentation": "https://www.home-assistant.io/docs/",
|
|
||||||
"org.opencontainers.image.licenses": "Apache License 2.0"
|
|
||||||
},
|
|
||||||
"version_tag": true
|
|
||||||
}
|
|
20
build.yaml
Normal file
20
build.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
image: homeassistant/{arch}-homeassistant
|
||||||
|
shadow_repository: ghcr.io/home-assistant
|
||||||
|
build_from:
|
||||||
|
aarch64: ghcr.io/home-assistant/aarch64-homeassistant-base:2021.09.0
|
||||||
|
armhf: ghcr.io/home-assistant/armhf-homeassistant-base:2021.09.0
|
||||||
|
armv7: ghcr.io/home-assistant/armv7-homeassistant-base:2021.09.0
|
||||||
|
amd64: ghcr.io/home-assistant/amd64-homeassistant-base:2021.09.0
|
||||||
|
i386: ghcr.io/home-assistant/i386-homeassistant-base:2021.09.0
|
||||||
|
codenotary:
|
||||||
|
signer: notary@home-assistant.io
|
||||||
|
base_image: notary@home-assistant.io
|
||||||
|
labels:
|
||||||
|
io.hass.type: core
|
||||||
|
org.opencontainers.image.title: Home Assistant
|
||||||
|
org.opencontainers.image.description: Open-source home automation platform running on Python 3
|
||||||
|
org.opencontainers.image.source: https://github.com/home-assistant/core
|
||||||
|
org.opencontainers.image.authors: The Home Assistant Authors
|
||||||
|
org.opencontainers.image.url: https://www.home-assistant.io/
|
||||||
|
org.opencontainers.image.documentation: https://www.home-assistant.io/docs/
|
||||||
|
org.opencontainers.image.licenses: Apache License 2.0
|
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"image": "homeassistant/{machine}-homeassistant",
|
|
||||||
"shadow_repository": "ghcr.io/home-assistant",
|
|
||||||
"build_from": {
|
|
||||||
"aarch64": "ghcr.io/home-assistant/aarch64-homeassistant:",
|
|
||||||
"armv7": "ghcr.io/home-assistant/armv7-homeassistant:",
|
|
||||||
"armhf": "ghcr.io/home-assistant/armhf-homeassistant:",
|
|
||||||
"amd64": "ghcr.io/home-assistant/amd64-homeassistant:",
|
|
||||||
"i386": "ghcr.io/home-assistant/i386-homeassistant:"
|
|
||||||
},
|
|
||||||
"labels": {
|
|
||||||
"io.hass.type": "core",
|
|
||||||
"org.opencontainers.image.source": "https://github.com/home-assistant/core"
|
|
||||||
},
|
|
||||||
"version_tag": true
|
|
||||||
}
|
|
14
machine/build.yaml
Normal file
14
machine/build.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
image: homeassistant/{machine}-homeassistant
|
||||||
|
shadow_repository: ghcr.io/home-assistant
|
||||||
|
build_from:
|
||||||
|
aarch64: "ghcr.io/home-assistant/aarch64-homeassistant:"
|
||||||
|
armv7: "ghcr.io/home-assistant/armv7-homeassistant:"
|
||||||
|
armhf: "ghcr.io/home-assistant/armhf-homeassistant:"
|
||||||
|
amd64: "ghcr.io/home-assistant/amd64-homeassistant:"
|
||||||
|
i386: "ghcr.io/home-assistant/i386-homeassistant:"
|
||||||
|
codenotary:
|
||||||
|
signer: notary@home-assistant.io
|
||||||
|
base_image: notary@home-assistant.io
|
||||||
|
labels:
|
||||||
|
io.hass.type: core
|
||||||
|
org.opencontainers.image.source: https://github.com/home-assistant/core
|
Loading…
x
Reference in New Issue
Block a user