mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-23 04:56:31 +00:00
* Use GitHub Container Registry (#2005) * Tag with ghcr.io prefix
This commit is contained in:
parent
5c70c57a70
commit
0139030404
@ -18,7 +18,7 @@ done
|
||||
# Tag the Supervisor how the OS expects it to be tagged
|
||||
supervisor=$(docker images --filter "label=io.hass.type=supervisor" --quiet)
|
||||
arch=$(docker inspect --format '{{ index .Config.Labels "io.hass.arch" }}' "${supervisor}")
|
||||
docker tag "${supervisor}" "homeassistant/${arch}-hassio-supervisor:latest"
|
||||
docker tag "${supervisor}" "ghcr.io/homeassistant/${arch}-hassio-supervisor:latest"
|
||||
|
||||
# Setup AppArmor
|
||||
mkdir -p "/data/supervisor/apparmor"
|
||||
|
@ -12,7 +12,7 @@ set -e
|
||||
SUPERVISOR_DATA=/mnt/data/supervisor
|
||||
SUPERVISOR_STARTUP_MARKER="/run/supervisor/startup-marker"
|
||||
SUPERVISOR_STARTSCRIPT_VERSION="/mnt/data/.hassos-supervisor-version"
|
||||
SUPERVISOR_IMAGE="homeassistant/${SUPERVISOR_ARCH}-hassio-supervisor"
|
||||
SUPERVISOR_IMAGE="ghcr.io/homeassistant/${SUPERVISOR_ARCH}-hassio-supervisor"
|
||||
|
||||
SUPERVISOR_IMAGE_ID=$(docker images --no-trunc --filter "reference=${SUPERVISOR_IMAGE}:latest" --format "{{.ID}}" || echo "")
|
||||
SUPERVISOR_CONTAINER_ID=$(docker inspect --format='{{.Image}}' hassio_supervisor || echo "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user