Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Available Commands:

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

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

### How it works

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

```
failed to pull ghcr.io/github/dependabot-update-job-proxy/dependabot-update-job-proxy:latest:
failed to pull ghcr.io/dependabot/proxy:latest:
Error response from daemon: dial unix docker.raw.sock: connect: no such file or directory
```

Expand Down Expand Up @@ -351,7 +351,7 @@ the issue, see <https://github.com/dependabot/cli/issues/113#issuecomment-161012
[Docker]: https://docs.docker.com/get-started/
[contributing]: ./.github/CONTRIBUTING.md
[updater]: https://github.com/dependabot/dependabot-core/pkgs/container/dependabot-updater
[proxy]: https://github.com/orgs/github/packages/container/package/dependabot-update-job-proxy%2Fdependabot-update-job-proxy
[proxy]: https://github.com/orgs/dependabot/packages/container/package/proxy
[gh]: https://github.com/cli/cli
[releases]: https://github.com/dependabot/cli/releases
[dependabot-core]: https://github.com/dependabot/dependabot-core
Expand Down
4 changes: 2 additions & 2 deletions internal/infra/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
const proxyCertPath = "/usr/local/share/ca-certificates/custom-ca-cert.crt"

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

type Proxy struct {
cli *client.Client
Expand Down Expand Up @@ -90,7 +90,7 @@ func NewProxy(ctx context.Context, cli *client.Client, params *RunParams, nets *
"ACTIONS_ID_TOKEN_REQUEST_URL=" + os.Getenv("ACTIONS_ID_TOKEN_REQUEST_URL"),
},
Entrypoint: []string{
"sh", "-c", "update-ca-certificates && /update-job-proxy",
"sh", "-c", "update-ca-certificates && /dependabot-proxy",
},
}
hostName := namesgenerator.GetRandomName(1)
Expand Down
4 changes: 2 additions & 2 deletions testdata/scripts/proxy.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ I am a certificate
FROM ubuntu:22.04

COPY --chmod=755 update-ca-certificates /usr/bin/update-ca-certificates
COPY --chmod=755 update-job-proxy /update-job-proxy
COPY --chmod=755 dependabot-proxy /dependabot-proxy

-- update-job-proxy --
-- dependabot-proxy --
#!/usr/bin/env bash

echo "Proxy is running"
Expand Down
Loading