mirror of
https://github.com/mudler/luet.git
synced 2025-09-16 23:31:08 +00:00
Add CreateTar to image API
Add api call which uses go-container registry to create OCI images from standard tar archives. Consume new API when generating final images instead of docker building them and adapts/add tests as necessary. This change now allows to carry over xattrs to final images. Fixes #266
This commit is contained in:
@@ -49,8 +49,10 @@ testRepo() {
|
||||
--meta-compression zstd \
|
||||
--type docker --push-images --force-push)
|
||||
|
||||
echo "$createres"
|
||||
|
||||
createst=$?
|
||||
assertEquals 'create repo successfully' "$createst" "0"
|
||||
assertEquals 'create repo successfully' "0" "$createst"
|
||||
assertContains 'contains image push' "$createres" 'Pushed image: quay.io/mocaccinoos/integration-test:z-test-1.0-2'
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user