mirror of
https://github.com/drone-plugins/drone-docker.git
synced 2026-06-04 10:15:30 +08:00
Use unique build name for build and tag
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user