The image is for running a custom application docker-update which will update a repositories description on docker hub. The image is based on python:3.7-alpine3.8
docker-update:
stage: linting
image: pipelinecomponents/docker-update:latest
only: master
script:
- docker-update 'myorg/myproject' 'short description' README.md
Getting the docker description from the label:
DESC="$(docker inspect myorg/myproject:latest -f '{{ index .Config.Labels "org.label-schema.description" }}')"