{"repo":"docker/metadata-action","free":true,"listed":false,"github":"https://github.com/docker/metadata-action","clone":"git clone https://github.com/docker/metadata-action.git","description":"GitHub Action to extract metadata (tags, labels) from Git reference and GitHub events for Docker","language":"TypeScript","stars":1142,"topics":["docker","tags","labels","metadata","github-actions","github-actions-docker"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"About GitHub Action to extract metadata from Git reference and GitHub events. This action is particularly useful if used with Docker Build Push action to tag and label Docker images. Usage Basic Semver Bake definition Customizing inputs outputs environment variables context input images input flavor input tags input type=schedule type=semver type=pep440 type=match type=edge type=ref type=raw type=sha Notes Image name and tag sanitization Latest tag priority attribute Global expressions {{branch}} {{tag}} {{sha}} {{base ref}} {{is default branch}} {{is not default branch}} {{date ' ' tz=' '}} {{commit date ' ' tz=' '}} Major version zero JSON output object Overwrite labels and annotations Annotations Contributing Usage Basic Event Ref Docker Tags --------------------- ------------------------------- ---------------------------- pull request refs/pull/2/merge pr-2 push refs/heads/master master push refs/heads/releases/v1 releases-v1 push tag refs/tags/v1.2.3 v1.2.3 , latest push tag refs/tags/v2.0.8-beta.67 v2.0.8-beta.67 , latest workflow dispatch refs/heads/master master Semver Event Ref Docker Tags ----------------- ------------------------------- ------------------------------------- pull request refs/pull/2/merge pr-2 push refs/heads/master master push refs/heads/releases/v1 releases-v1 push tag refs/tags/v1.2.3 1.2.3 , 1.2 , latest push tag refs/tags/v2.0.8-beta.67 2.0.8-beta.67 Bake definition This action also handles a bake definition file that can be used with the Dock","default_branch":null,"files":null,"tree":[],"storefront":"/r/docker","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/docker/metadata-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}