Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Fixes #864.

Describe the change

This allows environment variables to be added or removed from images.

How to verify it

regctl image mod nginx --env "[linux/amd64]NGINX_VERSION=1.27.3-custom" --create localhost:5002/library/nginx:custom
regctl image inspect --platform linux/amd64 localhost:5002/library/nginx:custom
docker run -it --rm localhost:5002/library/nginx:custom env

Changelog text

  • Feat: Image mod environment variables.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit 09ec884 into regclient:main Nov 30, 2024
5 checks passed
@sudo-bmitch sudo-bmitch deleted the pr-mod-env branch November 30, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] A regctl option to remove an environment variable
1 participant