Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

chore: Use a variable to define port for local registry #369

Open
YrrepNoj opened this issue Apr 8, 2024 · 0 comments
Open

chore: Use a variable to define port for local registry #369

YrrepNoj opened this issue Apr 8, 2024 · 0 comments
Labels
tech-debt Not a feature, but still necessary

Comments

@YrrepNoj
Copy link
Member

YrrepNoj commented Apr 8, 2024

Describe what should be investigated or refactored

Our Makefile uses a local registry to build Zarf packages. Currently, the Makefile is hardcoded to only use port 5000. This doesn't work for all OS's (namely MacOS) as this port is sometimes being used by system processes already.

Make the port that the local registry uses a variable and update the rest of the targets that use the local registry to the variablized port.

Links to any relevant code

-docker run -d -p 5000:5000 --restart=always --name registry registry:2

@YrrepNoj YrrepNoj added the tech-debt Not a feature, but still necessary label Apr 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tech-debt Not a feature, but still necessary
Projects
None yet
Development

No branches or pull requests

1 participant