Exemple #1
0
func (cnt *Img) writeImgManifest() {
	log.Get().Debug("Writing aci manifest")
	version := cnt.manifest.NameAndVersion.Version()
	if version == "" {
		version = utils.GenerateVersion()
	}
	utils.WriteImageManifest(&cnt.manifest, cnt.target+"/manifest", cnt.manifest.NameAndVersion.Name(), version)
}
Exemple #2
0
func (aci *Aci) writeAciManifest() {
	logs.WithF(aci.fields).Debug("Writing aci manifest")
	utils.WriteImageManifest(&aci.manifest, aci.target+PATH_MANIFEST, aci.manifest.NameAndVersion.Name(), cnt.Version)
}
Exemple #3
0
func (cnt *Img) writeImgManifest() {
	log.Debug("Writing aci manifest")
	utils.WriteImageManifest(&cnt.manifest, cnt.target+PATH_MANIFEST, cnt.manifest.NameAndVersion.Name())
}