Suppress environment variable blank warning #11144
Unanswered
LondonAppDev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use Docker Compose to run some services on my CI/CD workflows.
I have a mapping of vars defined in the
environment
block of my service like this:The
AWS_SESSION_TOKEN
is used optionally when I test it locally. It doesn't need to be set on my CI/CD workflow.Whenever my workflow runs on my CI workflow, I get this warning:
It's deliberately not set because it's not needed.
Is there a way to suppress this warning somehow? It's not a big deal, it's just I sometimes have multiple optional vars and it gets a bit tedious seeing this warning printed multiple times each run.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions