Add manifest type conversion to skopeo copy

User can select from 3 manifest types: oci, v2s1, or v2s2
  e.g skopeo copy --format v2s1 --compress-blobs docker-archive:alp.tar dir:my-directory
This commit is contained in:
Daniel J Walsh 2017-11-15 15:40:48 +00:00
parent 284f902451
commit ac775d3664
3 changed files with 10 additions and 4 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@
/skopeo-28d4e08.tar.gz /skopeo-28d4e08.tar.gz
/skopeo-dd2c3e3.tar.gz /skopeo-dd2c3e3.tar.gz
/skopeo-7fd6f66.tar.gz /skopeo-7fd6f66.tar.gz
/skopeo-2e8377a.tar.gz

View File

@ -26,7 +26,7 @@
%global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo}
%global import_path %{provider_prefix} %global import_path %{provider_prefix}
%global git0 https://%{import_path} %global git0 https://%{import_path}
%global commit0 7fd6f66b7ff599767a2bb50ad96521a23ead8297 %global commit0 2e8377a7085c13674be156f32c100708da838b7e
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
# e.g. el6 has ppc64 arch without gcc-go, so EA tag is required # e.g. el6 has ppc64 arch without gcc-go, so EA tag is required
@ -37,8 +37,8 @@ Name: %{repo}
%if 0%{?centos} %if 0%{?centos}
Epoch: 1 Epoch: 1
%endif # centos %endif # centos
Version: 0.1.25 Version: 0.1.26
Release: 2.git%{shortcommit0}%{?dist} Release: 1.git%{shortcommit0}%{?dist}
Summary: Inspect Docker images and repositories on registries Summary: Inspect Docker images and repositories on registries
License: ASL 2.0 License: ASL 2.0
URL: %{git0} URL: %{git0}
@ -306,6 +306,11 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%{_datadir}/bash-completion/completions/%{name} %{_datadir}/bash-completion/completions/%{name}
%changelog %changelog
* Wed Nov 15 2017 dwalsh <dwalsh@redhat.com> - 0.1.25-2.git2e8377a7
- Add manifest type conversion to skopeo copy
- User can select from 3 manifest types: oci, v2s1, or v2s2
- e.g skopeo copy --format v2s1 --compress-blobs docker-archive:alp.tar dir:my-directory
* Wed Nov 8 2017 dwalsh <dwalsh@redhat.com> - 0.1.25-2.git7fd6f66b * Wed Nov 8 2017 dwalsh <dwalsh@redhat.com> - 0.1.25-2.git7fd6f66b
- Force storage.conf to default to overlay - Force storage.conf to default to overlay

View File

@ -1 +1 @@
SHA512 (skopeo-7fd6f66.tar.gz) = ee1d65a4a3a5d08873ebf48c158490b20cdbe60b9893346f05f51caa30b19ddf6741805b6b056dd68d2e9b9d1069c6a7842199f41d3c0c60c545b0ffd9186b59 SHA512 (skopeo-2e8377a.tar.gz) = 490f3c30138d412d4e0585edc1a1a80a1ece47e052f5bc782ca68c7727c6200c648b631bdb5d60214c9934d8807ca745750182eb485d037846e2a4871eb59e2a