diff --git a/hack/release/pkg/extraimages/extraimages.go b/hack/release/pkg/extraimages/extraimages.go index cc4bc9b4c..a19e2580a 100644 --- a/hack/release/pkg/extraimages/extraimages.go +++ b/hack/release/pkg/extraimages/extraimages.go @@ -30,7 +30,7 @@ func UpdateExtraImagesVersions(kommanderApplicationsRepo, chartVersion string) e if err := os.WriteFile( matches[0], - []byte(fmt.Sprintf("mesosphere/kommander-applications-server:%s\n", chartVersion)), + []byte(fmt.Sprintf("ghcr.io/mesosphere/kommander-applications-server:%s\n", chartVersion)), 0o644, ); err != nil { return fmt.Errorf("error while updating extra-images file: %w", err) diff --git a/hack/release/pkg/extraimages/extraimages_test.go b/hack/release/pkg/extraimages/extraimages_test.go index ae31a736a..7e4f880f4 100644 --- a/hack/release/pkg/extraimages/extraimages_test.go +++ b/hack/release/pkg/extraimages/extraimages_test.go @@ -29,5 +29,5 @@ func TestUpdateExtraImages(t *testing.T) { assert.Len(t, afterUpgradeFile, 1) contentes, err := os.ReadFile(afterUpgradeFile[0]) require.NoError(t, err) - assert.Equal(t, "mesosphere/kommander-applications-server:v1.2.3\n", string(contentes)) + assert.Equal(t, "ghcr.io/mesosphere/kommander-applications-server:v1.2.3\n", string(contentes)) }