-
Notifications
You must be signed in to change notification settings - Fork 13
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
[BUG] container images are built without the commit SHA #75
Comments
Failing w/
in this github action. |
Still not working ... skopeo inspect docker://ghcr.io/k8snetworkplumbingwg/multus-dynamic-networks-controller:latest-amd64 -f '{{ index .Labels "multi.GIT_SHA" }}'
NONE |
Maybe worth to take a look here docker/build-push-action#557 ? Imo best just to take this and adapt your code to
it can be for example the |
Fixed in #80 . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When I check the commit SHA from a container image provided by this repo's package, I don't see the commit SHA from which the container image was built.
This
NONE
is the default value specified in the container image.Expected behavior
The command below should output the commit ID from which the container image was built.
To Reproduce
Steps to reproduce the behavior:
skopeo inspect docker://ghcr.io/k8snetworkplumbingwg/multus-dynamic-networks-controller:latest-amd64 -f '{{ index .Labels "multi.GIT_SHA" }}' NONE
Environment:
kubectl version
): N/AcriSocketPath
/multusSocketPath
): N/Auname -a
): N/AAdditional info / context
Add any other information / context about the problem here.
The text was updated successfully, but these errors were encountered: