mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-22 14:46:39 +02:00
ci: proxy config check
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
ac790be09a
commit
380260b6c7
2 changed files with 80 additions and 0 deletions
9
test/proxy.Dockerfile
Normal file
9
test/proxy.Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM alpine
|
||||
RUN apk add --no-cache curl net-tools
|
||||
ARG HTTP_PROXY
|
||||
ARG HTTPS_PROXY
|
||||
RUN printenv HTTP_PROXY
|
||||
RUN printenv HTTPS_PROXY
|
||||
RUN netstat -aptn
|
||||
RUN curl --retry 5 --retry-all-errors --retry-delay 0 --connect-timeout 5 --proxy $HTTP_PROXY -v --insecure --head https://www.google.com
|
Loading…
Add table
Add a link
Reference in a new issue