Skip to content

Commit

Permalink
Fix image name
Browse files Browse the repository at this point in the history
  • Loading branch information
pvizeli committed Jun 9, 2023
1 parent e640843 commit 08d8b8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
image: "ghcr.io/home-assistant/{arch}-builder"
image: "homeassistant/{arch}-builder"
shadow_repository: "ghcr.io/home-assistant"
build_from:
aarch64: "ghcr.io/home-assistant/aarch64-base:3.18"
armv7: "ghcr.io/home-assistant/armv7-base:3.18"
Expand Down
4 changes: 2 additions & 2 deletions builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,8 @@ function build_generic() {
bashio::log.error "Can't find the image tag on build.json"
return 1
fi
repository="$(echo "$raw_image" | cut -f 1 -d '/')"
image="$(echo "$raw_image" | cut -f 2 -d '/')"
repository="${raw_image%/*}"
image="${raw_image##*/}"

# Additional build args
if bashio::var.has_value "$args"; then
Expand Down

0 comments on commit 08d8b8d

Please sign in to comment.