1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/pkgs/build-support/docker
Matthieu Coudron ca1657217d
streamLayeredImage: add dynamic tagging of docker image (#329425)
* streamLayeredImage: self-document the script

'podman load' doesn't let me override the name/tag from the image.
This name and tag is dynamic and in a CI environment so I would like to
be able to adjust the tag dynamically.
Since the image is streamed by stream_layered_image.py, there is no need
to stick with the nix-hardcoded image name/tag: the python script can
accept another name

I've added argparse to expose the feature. It has the added benefit of
adding `--help` support to the script, which makes its usage
self-explanatory.

* blackified file
2024-07-29 19:45:58 +02:00
..
test-dummy
default.nix streamLayeredImage: add dynamic tagging of docker image (#329425) 2024-07-29 19:45:58 +02:00
detjson.py
examples.nix Merge pull request #308822 from yorickvP/yorickvp/streamLayeredImage-overridable 2024-07-24 16:02:35 +02:00
nix-prefetch-docker
nix-prefetch-docker.nix treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00
stream_layered_image.py streamLayeredImage: add dynamic tagging of docker image (#329425) 2024-07-29 19:45:58 +02:00
tarsum.go
tarsum.nix treewide: add meta.mainProgram to packages with a single binary 2024-03-19 03:14:51 +01:00