Sign inSign up

fixl/anybadge

By fixl

•Updated about 1 year ago

Create Badges in your CI/CD pipeline: https://gitlab.com/fixl/docker-anybadge

Image
0

10K+

fixl/anybadge repository overview

⁠anybadge Image

Build Container version size Docker Pulls Docker Stars

A Docker container containing anybadge⁠ that can be used along with 3 Musketeers⁠.

⁠Build the image

make build

⁠Inspect the image

docker inspect --format='{{ range $k, $v := .Config.Labels }}{{ printf "%s=%s\n" $k $v}}{{ end }}' anybadge:latest

⁠Generate badge

docker run --rm -v ${PWD}:/src anybadge \
    anybadge --value=$score --file=<badgeName>.svg <badgeLabel>

⁠Additional Scripts

docker-size

This script creates a label displaying the compressed size and layers inside the docker image.

This interacts with the docker engine, so you may have to mount the docker socket

docker-version

This script derives the version from the tag of the image passed to the script. It does not verify the image actually exists.

Tag summary

Content type

Image

Digest

sha256:2e16babbc…

Size

30.3 MB

Last updated

about 1 year ago

docker pull fixl/anybadge