summaryrefslogtreecommitdiff
path: root/tests/guix-authenticate.sh
diff options
context:
space:
mode:
authorSören Tempel <soeren@soeren-tempel.net>2023-10-01 15:06:15 +0200
committerMathieu Othacehe <othacehe@gnu.org>2023-10-16 09:08:13 +0200
commit435090fa3f406a76c83e11de9cd01f61ef89dcca (patch)
tree5e80b5b392e2e5021e51c441a199e31445957144 /tests/guix-authenticate.sh
parenta0d2ecde943bd1854ddbb7c0cad35a1fc64dc5ab (diff)
pack: Allow setting a custom image tag for Docker images
Previously, the image repository name was automatically computed from the packages in the manifest without allowing the user to set a custom one. As such, changing the packages in the manifest would result in a new image name. Thereby requiring updating documentation et cetera when using `docker load` directory on the resulting image. Inspired by `docker build -t`, this commit adds a new Docker-specific option to `guix pack` which allows setting a custom repository name for the resulting image. If this option is not specified, pack falls back to computing the name from the manifest. Therefore, this change is entirely backwards compatible. Documentation has been added with: 373ec2cf8ce97d5f89191c3d9211ee3a5c2067dc. * guix/scripts/pack.scm (guix-pack): Add --image-tag option. (%docker-format-options): New constant. (show-docker-format-options): New procedure. (show-docker-format-options/detailed): New procedure. (docker-image): Allow setting a custom repository name for the created docker image via extra-options. Signed-off-by: Sören Tempel <soeren@soeren-tempel.net> Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'tests/guix-authenticate.sh')
0 files changed, 0 insertions, 0 deletions