diff --git a/cmd/authelia-scripts/docker.go b/cmd/authelia-scripts/docker.go index e57966f3c..63d430502 100644 --- a/cmd/authelia-scripts/docker.go +++ b/cmd/authelia-scripts/docker.go @@ -48,10 +48,10 @@ func (d *Docker) Manifest(tag, amd64tag, arm32v7tag, arm64v8tag string) error { // CleanTag remove a tag from dockerhub. func (d *Docker) CleanTag(tag string) error { - return CommandWithStdout("curl", "-u", "$DOCKER_USERNAME:$DOCKER_PASSWORD", "-X", "DELETE", "https://cloud.docker.com/v2/repositories/"+DockerImageName+"/tags/"+tag+"/").Run() + return CommandWithStdout("bash", "-c", "curl -s -o /dev/null -u $DOCKER_USERNAME:$DOCKER_PASSWORD -X DELETE https://cloud.docker.com/v2/repositories/"+DockerImageName+"/tags/"+tag+"/").Run() } // PublishReadme push README.md to dockerhub. func (d *Docker) PublishReadme() error { - return CommandWithStdout("bash", "-c", `jq -n --arg msg "$(