test: Add --ref for non-default ref
Because test uses 'test/rhel/8/x86_64/edge', building rhel-edge image should include --ref arg
This commit is contained in:
parent
3a0d1bb2de
commit
41fdfbd168
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ build_image() {
|
|||
repo_url=$3
|
||||
sudo composer-cli --json compose start-ostree --ref "$OSTREE_REF" --url "$repo_url" "$blueprint_name" "$image_type" | tee "$COMPOSE_START"
|
||||
else
|
||||
sudo composer-cli --json compose start-ostree "$blueprint_name" "$image_type" | tee "$COMPOSE_START"
|
||||
sudo composer-cli --json compose start-ostree --ref "$OSTREE_REF" "$blueprint_name" "$image_type" | tee "$COMPOSE_START"
|
||||
fi
|
||||
COMPOSE_ID=$(jq -r '.build_id' "$COMPOSE_START")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue