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

Move docker LABELs into Dockerfiles #1697

Merged
merged 3 commits into from
Dec 17, 2021

Conversation

devinrsmith
Copy link
Member

Allows us to parameterize the labels via build args in the Dockerfile instead of just during CI

.github/workflows/build-ci.yml Show resolved Hide resolved
.github/workflows/build-ci.yml Show resolved Hide resolved
docker/server/src/main/common/Dockerfile Outdated Show resolved Hide resolved
@devinrsmith
Copy link
Member Author

My new favorite command, to inspect remote repo image info without needing to pull:

docker run --rm -it gcr.io/go-containerregistry/crane config ghcr.io/devinrsmith/server:build-docker-labels | jq '.config.Labels'

mofojed
mofojed previously approved these changes Dec 15, 2021
@devinrsmith devinrsmith merged commit d1ac212 into deephaven:main Dec 17, 2021
@devinrsmith devinrsmith deleted the build/docker/labels branch December 17, 2021 21:01
@github-actions github-actions bot locked and limited conversation to collaborators Dec 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants