allow the $ORIGIN: prefix only when the branch is specified, otherwise it
is not decidable if $ORIGIN is the source to pull the image from or the
name of the image itself.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #767
Approved by: rhatdan
I've observed some failures when running "make check", mock the function
to return something useful.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #893
Approved by: baude
Added two tests for pull by digest: one where the image is not
present and the other when it is.
Also, addressed review comments.
Closes: #856
Approved by: baude
Use the image already fetched through Docker of the fedora image instead
of fetching it over the network each time.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Closes: #503
Approved by: cgwalters