-
Notifications
You must be signed in to change notification settings - Fork 213
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
Environment variable https_proxy is not used #146
Comments
@svasek Is the |
I'm not sure as I've added it because it didn't work. |
Doesn't look like it aws-actions/configure-aws-credentials#222 |
Looking at their docs it should be capitalize |
|
Unfortunately it doesn't even when I tried it run directly: - name: Login to AWS ECR
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
registry: ${{ env.ECR_REPO }}
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
env:
NO_PROXY: ${{ env.NO_PROXY }}
HTTP_PROXY: ${{ env.PROXYURL }}
HTTPS_PROXY: ${{ env.PROXYURL }} Log output:
|
Hi @crazy-max, is there any update on this? |
@svasek Oh sorry I completely forgot that one. Will setup smth this week! |
@svasek Can you try with: - name: Login to AWS ECR
if: github.event_name != 'pull_request'
uses: crazy-max/docker-login-action@aws-sdk-proxy
with:
registry: ${{ env.ECR_REPO }}
username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
env:
HTTP_PROXY: ${{ env.HTTP_PROXY_URL }}
HTTPS_PROXY: ${{ env.HTTPS_PROXY_URL }} |
Hi @crazy-max, It's also not necessary to set additional
|
Behaviour
Login to AWS ECR doesn't work if action is running behind http(s) proxy.
Steps to reproduce this issue
http_proxy
andhttps_proxy
to correct proxy serverExpected behaviour
Actual behaviour
Configuration
The text was updated successfully, but these errors were encountered: