mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
Grab just the image ID
When building the image, grab the image id using `-q`, which removes all the decorations in the output and just keeps the image ID.
This commit is contained in:
parent
a33dcfbb51
commit
d768099912
2 changed files with 2 additions and 2 deletions
|
@ -11,4 +11,4 @@ echo "Saving and compressing container image"
|
||||||
podman save $TAG | gzip > share/container.tar.gz
|
podman save $TAG | gzip > share/container.tar.gz
|
||||||
|
|
||||||
echo "Looking up the image id"
|
echo "Looking up the image id"
|
||||||
podman images --filter=reference=$TAG > share/image-id.txt
|
podman images -q --filter=reference=$TAG > share/image-id.txt
|
||||||
|
|
|
@ -11,4 +11,4 @@ echo "Saving and compressing container image"
|
||||||
docker save $TAG | gzip > share/container.tar.gz
|
docker save $TAG | gzip > share/container.tar.gz
|
||||||
|
|
||||||
echo "Looking up the image id"
|
echo "Looking up the image id"
|
||||||
docker images --filter=reference=$TAG > share/image-id.txt
|
docker images -q --filter=reference=$TAG > share/image-id.txt
|
||||||
|
|
Loading…
Reference in a new issue