Access behind a proxy on self hosted runner #289
HediehM
started this conversation in
Feature asks
Replies: 2 comments
-
|
Hey @HediehM, I'm not aware that the action considers those envrionment variables ( |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This function action does not support env var: HTTP_ PROXY, NO_ PROXY, and HTTPS_ PROXY. So changing it into feature ask. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Someone posted this in discussions 2022 and no one responded. Here is our issue:
We are attempting to deploy code to a storage account from a runner in a self-hosted agent Mere the ENV values for the ACA Image are predefined.
When we deploy via a custom bash/python script setting the HTTP_ PROXY, NO_ PROXY, and HTTPS_ PROXY values we are able to connect to our storage account just fine.
However when running the
Azure/functions-action@vl it doesn't appear that the environment variables are being respected:
uses: Azure/functions-action@v1
id: deploy-to-function-app with:
app-name: ${( env. AZURE_FUNCTIONAPP_NAME }} package: $ff enAZURE_FUNCTIONARRPACKAGE PATH }}
env:
NO_PROXY: "‹internal destination>"
HTTP_PROXY: "*
HTTPS_PROXY: ""
I can see in the logs that it reads the proper set values, but somehow the function action is still picking up the value set within the self-hosted runner.
Beta Was this translation helpful? Give feedback.
All reactions