Skip to content

Commit

Permalink
Merge pull request #33 from powerman/docker
Browse files Browse the repository at this point in the history
Fix github url for docker badge
  • Loading branch information
fayland committed Apr 4, 2018
2 parents aba7d7a + ca6322a commit 415b188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dist/Zilla/Plugin/GitHubREADME/Badge.pm
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ sub add_badges {
} elsif ($badge eq 'gitlab_cover') {
push @badges, "[![coverage report](https://$base_url/$user_name/$repository_name/badges/master/coverage.svg)]($repository/$user_name/$repository_name/commits/master)";
} elsif ($badge eq 'docker_automated') {
push @badges, "[![Docker Automated Build](https://img.shields.io/docker/automated/\L$user_name/$repository_name\E.svg)](https://github.com/\L$user_name/$repository_name\E)";
push @badges, "[![Docker Automated Build](https://img.shields.io/docker/automated/\L$user_name/$repository_name\E.svg)](https://github.com/$user_name/$repository_name)";
} elsif ($badge eq 'docker_build') {
push @badges, "[![Docker Build Status](https://img.shields.io/docker/build/\L$user_name/$repository_name\E.svg)](https://hub.docker.com/r/\L$user_name/$repository_name\E/)";
}
Expand Down

0 comments on commit 415b188

Please sign in to comment.