Use unique build name for build and tag

This commit is contained in:
Rutvij Mehta
2023-05-15 14:06:35 -07:00
parent 06e2f3535f
commit adb2b6c2c0
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -17,8 +17,8 @@ import (
"github.com/inhies/go-bytesize"
)
func (p Plugin) writeCard() error {
cmd := exec.Command(dockerExe, "inspect", p.Build.Name)
func (p Plugin) writeCard(buildName string) error {
cmd := exec.Command(dockerExe, "inspect", buildName)
data, err := cmd.CombinedOutput()
if err != nil {
return err