Update ci.yml

This commit is contained in:
Liangbin Lian 2023-12-22 21:37:35 +08:00 committed by GitHub
parent cc947e0a45
commit 9ac61151de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,9 +119,9 @@ jobs:
img=$(head -1 $board/version.latest | sed -E 's/.*\((.+)\).*/\1/')
ver=$(head -1 $board/version.index)
echo "Uploading $board firmware..."
oras push --annotation "org.istoreos.version=$ver"
--annotation "org.opencontainers.image.source=${IMAGE_SOURCE}"
--annotation "org.opencontainers.image.description=iStoreOS $ver for $board"
${OCI_REGISTER}/${OCI_PATH}/$board:latest
oras push --annotation "org.istoreos.version=$ver" \
--annotation "org.opencontainers.image.source=${IMAGE_SOURCE}" \
--annotation "org.opencontainers.image.description=iStoreOS $ver for $board" \
${OCI_REGISTER}/${OCI_PATH}/$board:latest \
./$board/$img:application/vnd.istoreos.firmware
done