mirror of
https://github.com/containers/skopeo.git
synced 2025-07-09 20:53:43 +00:00
Reformat with Go 1.19's gofmt
This is just the minimal update; I didn't review all existing comments for using all the new syntax. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
parent
9e79da5e33
commit
fa2b15ff76
@ -15,11 +15,15 @@ TestRunShell is not really a test; it is a convenient way to use the registry se
|
|||||||
in openshift.go and CopySuite to get an interactive environment for experimentation.
|
in openshift.go and CopySuite to get an interactive environment for experimentation.
|
||||||
|
|
||||||
To use it, run:
|
To use it, run:
|
||||||
|
|
||||||
sudo make shell
|
sudo make shell
|
||||||
|
|
||||||
to start a container, then within the container:
|
to start a container, then within the container:
|
||||||
|
|
||||||
SKOPEO_CONTAINER_TESTS=1 PS1='nested> ' go test -tags openshift_shell -timeout=24h ./integration -v -check.v -check.vv -check.f='CopySuite.TestRunShell'
|
SKOPEO_CONTAINER_TESTS=1 PS1='nested> ' go test -tags openshift_shell -timeout=24h ./integration -v -check.v -check.vv -check.f='CopySuite.TestRunShell'
|
||||||
|
|
||||||
An example of what can be done within the container:
|
An example of what can be done within the container:
|
||||||
|
|
||||||
cd ..; make bin/skopeo PREFIX=/usr install
|
cd ..; make bin/skopeo PREFIX=/usr install
|
||||||
./skopeo --tls-verify=false copy --sign-by=personal@example.com docker://quay.io/libpod/busybox:latest atomic:localhost:5000/myns/personal:personal
|
./skopeo --tls-verify=false copy --sign-by=personal@example.com docker://quay.io/libpod/busybox:latest atomic:localhost:5000/myns/personal:personal
|
||||||
oc get istag personal:personal -o json
|
oc get istag personal:personal -o json
|
||||||
|
Loading…
Reference in New Issue
Block a user