Compare commits

..

No commits in common. "a0e39cde0c0973ae3e6ebecdfdaca42ca7e7666a" and "fbe182580e28e0a0291c4cff0c2637d853807c4c" have entirely different histories.

2 changed files with 2 additions and 3 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
scaleway-delete-image

View file

@ -42,7 +42,7 @@ func (p *Plugin) Flags() []cli.Flag {
&cli.StringFlag{
Name: "tag",
Usage: "The tag that should be deleted",
EnvVars: []string{"PLUGIN_TAG"},
EnvVars: []string{"PLUGIN_IMAGE_NAME"},
Destination: &p.Settings.Tag,
},
&cli.StringFlag{
@ -155,7 +155,7 @@ func getImageId(region, imageName, token string) (string, error) {
}
type TagsResponse struct {
Tags []Tag `json:"tags"`
Tags []Tag `json:"tag"`
}
type Tag struct {