Move to use kairos-release (#567)

This commit is contained in:
Itxaka
2024-10-07 11:44:05 +02:00
committed by GitHub
parent ee0ae628f3
commit e8bb8cf4ff
8 changed files with 51 additions and 21 deletions

View File

@@ -23,7 +23,7 @@ import (
func CurrentImage() (string, error) {
artifact, err := versioneer.NewArtifactFromOSRelease()
if err != nil {
return "", fmt.Errorf("creating an Artifact from os-release: %w", err)
return "", fmt.Errorf("creating an Artifact from kairos-release: %w", err)
}
registryAndOrg, err := utils.OSRelease("REGISTRY_AND_ORG")