Skip to content

Commit 71a45d0

Browse files
committed
Renaming the dependabot proxy
1 parent d847615 commit 71a45d0

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Available Commands:
5050

5151
Flags:
5252
-h, --help help for dependabot
53-
--proxy-image string container image to use for the proxy (default "ghcr.io/github/dependabot-update-job-proxy/dependabot-update-job-proxy:latest")
53+
--proxy-image string container image to use for the proxy (default "ghcr.io/dependabot/proxy:latest")
5454
--updater-image string container image to use for the updater
5555
-v, --version version for dependabot
5656

@@ -152,7 +152,7 @@ with values from the environment.
152152
>
153153
> The job description file format isn't documented formally yet,
154154
> but you can find examples in the [smoke tests](https://github.com/dependabot/smoke-tests/tree/main/tests)
155-
> and look at the [model directory](/internal/model) for how the CLI models the job.
155+
> and look at the [model directory](/internal/model) for how the CLI models the job.
156156

157157
### How it works
158158

@@ -303,7 +303,7 @@ See the [debugging doc](/docs/debugging.md) for details.
303303
### "Docker daemon not running"
304304

305305
```
306-
failed to pull ghcr.io/github/dependabot-update-job-proxy/dependabot-update-job-proxy:latest:
306+
failed to pull ghcr.io/dependabot/proxy:latest:
307307
Error response from daemon: dial unix docker.raw.sock: connect: no such file or directory
308308
```
309309
@@ -351,7 +351,7 @@ the issue, see <https://github.com/dependabot/cli/issues/113#issuecomment-161012
351351
[Docker]: https://docs.docker.com/get-started/
352352
[contributing]: ./.github/CONTRIBUTING.md
353353
[updater]: https://github.com/dependabot/dependabot-core/pkgs/container/dependabot-updater
354-
[proxy]: https://github.com/orgs/github/packages/container/package/dependabot-update-job-proxy%2Fdependabot-update-job-proxy
354+
[proxy]: https://github.com/orgs/dependabot/packages/container/package/proxy
355355
[gh]: https://github.com/cli/cli
356356
[releases]: https://github.com/dependabot/cli/releases
357357
[dependabot-core]: https://github.com/dependabot/dependabot-core

internal/infra/proxy.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222
const proxyCertPath = "/usr/local/share/ca-certificates/custom-ca-cert.crt"
2323

2424
// ProxyImageName is the default Docker image used by the proxy
25-
const ProxyImageName = "ghcr.io/github/dependabot-update-job-proxy/dependabot-update-job-proxy:latest"
25+
const ProxyImageName = "ghcr.io/dependabot/proxy:latest"
2626

2727
type Proxy struct {
2828
cli *client.Client
@@ -90,7 +90,7 @@ func NewProxy(ctx context.Context, cli *client.Client, params *RunParams, nets *
9090
"ACTIONS_ID_TOKEN_REQUEST_URL=" + os.Getenv("ACTIONS_ID_TOKEN_REQUEST_URL"),
9191
},
9292
Entrypoint: []string{
93-
"sh", "-c", "update-ca-certificates && /update-job-proxy",
93+
"sh", "-c", "update-ca-certificates && /dependabot-proxy",
9494
},
9595
}
9696
hostName := namesgenerator.GetRandomName(1)

testdata/scripts/proxy.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ I am a certificate
2727
FROM ubuntu:22.04
2828

2929
COPY --chmod=755 update-ca-certificates /usr/bin/update-ca-certificates
30-
COPY --chmod=755 update-job-proxy /update-job-proxy
30+
COPY --chmod=755 dependabot-proxy /dependabot-proxy
3131

32-
-- update-job-proxy --
32+
-- dependabot-proxy --
3333
#!/usr/bin/env bash
3434

3535
echo "Proxy is running"

0 commit comments

Comments
 (0)