mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 01:31:03 +00:00
ci/build-toolbox-image.sh: Always print how to use fetch the image
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7769>
This commit is contained in:
parent
19d5a58450
commit
5ad8258a7d
1 changed files with 5 additions and 8 deletions
|
@ -146,16 +146,13 @@ TOOLBOX_LATEST="$CI_REGISTRY_IMAGE/$FDO_REPO_SUFFIX:gst-toolbox-${GST_UPSTREAM_B
|
||||||
|
|
||||||
podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
podman login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
|
||||||
|
|
||||||
if check_image_base; then
|
if ! check_image_base; then
|
||||||
echo Image $TOOLBOX_IMAGE exists and is up to date.
|
build_container
|
||||||
exit 0
|
|
||||||
|
podman push "$TOOLBOX_IMAGE"
|
||||||
|
podman push "$TOOLBOX_LATEST"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build_container
|
|
||||||
|
|
||||||
podman push "$TOOLBOX_IMAGE"
|
|
||||||
podman push "$TOOLBOX_LATEST"
|
|
||||||
|
|
||||||
echo "Create your toolbox with either of the following commands"
|
echo "Create your toolbox with either of the following commands"
|
||||||
echo " $ toolbox create gst-toolbox --image $TOOLBOX_LATEST"
|
echo " $ toolbox create gst-toolbox --image $TOOLBOX_LATEST"
|
||||||
echo " $ toolbox create gst-toolbox-$TOOLBOX_BRANCH --image $TOOLBOX_IMAGE"
|
echo " $ toolbox create gst-toolbox-$TOOLBOX_BRANCH --image $TOOLBOX_IMAGE"
|
||||||
|
|
Loading…
Reference in a new issue