adding a tag from a file #1582
Unanswered
BrianHicks
asked this question in
Q&A
Replies: 2 comments 5 replies
-
In our CI (Drone), we check out the repo with the cue manifests, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Would you want to inject the file on the command line, or would you rather inject the file within the CUE file (akin to Go's file embedding mechanism)? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks! My CD system stores information about what container image tag to deploy in files next to the CUE source, and expects them to be set. Currently we're using
@tag(tag)
in the source, and a build script like this to get our Kubernetes manifests:This works, but I can't help but feel that there's a better way. I see mentions of loading CUE-parseable files, but haven't ever been able to actually make it work. If I have a tag as text, can I load it into my manifests without using the tags system? Would it have to be JSON? What is the actual mechanism here?
I hope this is obvious to someone else, but it isn't to me—I've searched through the documentation trying to figure this out and have come up empty a couple times now.
Beta Was this translation helpful? Give feedback.
All reactions