mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-21 12:05:00 +00:00
fix machine selection in base-image automation script
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
This commit is contained in:
parent
71dedbab39
commit
35d62a73be
@ -4,7 +4,6 @@ set -o errexit
|
||||
set -o pipefail
|
||||
|
||||
date=$(date +'%Y%m%d' -u)
|
||||
REPO='resin/amd64-supervisor-base'
|
||||
# MACHINE_LIST: generic-x86-64 generic-x86 generic-armv6 generic-armv7hf generic-armv5
|
||||
# MACHINE_LIST should be set in jenkins config
|
||||
|
||||
@ -14,7 +13,7 @@ mkdir dest
|
||||
|
||||
docker build -t supervisor-base-builder .
|
||||
for machine in $MACHINE_LIST; do
|
||||
case "$device" in
|
||||
case "$machine" in
|
||||
'generic-x86-64')
|
||||
REPO='resin/amd64-supervisor-base'
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user