summaryrefslogtreecommitdiff
path: root/cmd/authelia-scripts/docker.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/authelia-scripts/docker.go')
-rw-r--r--cmd/authelia-scripts/docker.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/authelia-scripts/docker.go b/cmd/authelia-scripts/docker.go
index 508ed3aa6..10fcc25aa 100644
--- a/cmd/authelia-scripts/docker.go
+++ b/cmd/authelia-scripts/docker.go
@@ -20,8 +20,8 @@ func (d *Docker) Tag(image, tag string) error {
}
// Login login to the dockerhub registry.
-func (d *Docker) Login(username, password string) error {
- return utils.CommandWithStdout("docker", "login", "-u", username, "-p", password).Run()
+func (d *Docker) Login(username, password, registry string) error {
+ return utils.CommandWithStdout("docker", "login", registry, "-u", username, "-p", password).Run()
}
// Push push a docker image to dockerhub.