Skip to content

Commit

Permalink
Change BuildRunners.Docker to use GitHub Container Registry by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jjcarstens committed Mar 17, 2023
1 parent bb21f9d commit 9a8bfaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/nerves/artifact/build_runners/docker.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule Nerves.Artifact.BuildRunners.Docker do
Docker containers will be created based off the image that is loaded.
By default, containers will use the default image
`nervesproject/nerves_system_br:latest`. Sometimes additional host tools
`ghcr.io/nerves-project/nerves_system_br:latest`. Sometimes additional host tools
are required to build a package. Therefore, packages can provide their own
images by specifying it in the package config under `:build_runner_config`.
the file is specified as a tuple `{"path/to/Dockerfile", tag_name}`.
Expand Down Expand Up @@ -366,7 +366,7 @@ defmodule Nerves.Artifact.BuildRunners.Docker do
defp default_docker_config() do
[platform] = Nerves.Env.packages_by_type(:system_platform)
dockerfile = Path.join(platform.path, "support/docker/#{platform.app}")
tag = "nervesproject/#{platform.app}:#{platform.version}"
tag = "ghcr.io/nerves-project/#{platform.app}:#{platform.version}"
{dockerfile, tag}
end

Expand Down

0 comments on commit 9a8bfaa

Please sign in to comment.