-
Notifications
You must be signed in to change notification settings - Fork 336
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
e2e: support docker hub as registry #1489
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1489 +/- ##
==========================================
+ Coverage 41.26% 41.38% +0.12%
==========================================
Files 83 84 +1
Lines 7365 7382 +17
==========================================
+ Hits 3039 3055 +16
- Misses 3972 3974 +2
+ Partials 354 353 -1
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@@ -72,7 +72,7 @@ spec: | |||
tcpSocket: | |||
port: 9080 | |||
timeoutSeconds: 2 | |||
image: "localhost:5000/apache/apisix:dev" | |||
image: "localhost:5000/apisix:dev" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also add a global variable that stores the $REGISTRY used instead of hardcoding it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Relevant processing logic already exists.
https://github.com/apache/apisix-ingress-controller/blob/master/test/e2e/scaffold/scaffold.go#L588
Type of change:
What this PR does / why we need it:
The free docker hub account does not support multi-level paths. such as api
docker.io/xxx/xxx/xxx
.The
${REGISTRY}/apache/apisix:dev
unable to push to personal docker hub.Pre-submission checklist: