Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add and display nginx-proxy version #1865

Merged
merged 3 commits into from
Jan 13, 2022
Merged

Add and display nginx-proxy version #1865

merged 3 commits into from
Jan 13, 2022

Conversation

buchdag
Copy link
Member

@buchdag buchdag commented Jan 12, 2022

This PR adds a build argument and an associated environment variable to the Dockerfile whose intent are to store nginx-proxy's version. This environment variable is in turn used to display nginx-proxy's version at startup and on the generated nginx configuration.

The current version is retrieved and injected to the image built and pushed by the CI pretty much in the same way as in nginx-proxy/docker-gen and nginx-proxy/acme-companion.

@buchdag buchdag added type/ci PR that change the CI configuration files and scripts type/feat PR for a new feature labels Jan 12, 2022
@buchdag buchdag merged commit 54dd5d1 into main Jan 13, 2022
@buchdag buchdag deleted the container-version branch January 13, 2022 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/ci PR that change the CI configuration files and scripts type/feat PR for a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant