Compare commits
No commits in common. "a0e39cde0c0973ae3e6ebecdfdaca42ca7e7666a" and "fbe182580e28e0a0291c4cff0c2637d853807c4c" have entirely different histories.
a0e39cde0c
...
fbe182580e
2 changed files with 2 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
scaleway-delete-image
|
4
main.go
4
main.go
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue