From 9a8bfaa4e9f5682f803ac1358d99068636b34a9a Mon Sep 17 00:00:00 2001 From: Jon Carstens Date: Fri, 17 Mar 2023 07:15:44 -0600 Subject: [PATCH] Change `BuildRunners.Docker` to use GitHub Container Registry by default --- lib/nerves/artifact/build_runners/docker.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/nerves/artifact/build_runners/docker.ex b/lib/nerves/artifact/build_runners/docker.ex index 0fec7b31..a56ceb80 100644 --- a/lib/nerves/artifact/build_runners/docker.ex +++ b/lib/nerves/artifact/build_runners/docker.ex @@ -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}`. @@ -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