{"id":15188769,"url":"https://github.com/yoomoney/docker-artifact-publish-plugin","last_synced_at":"2025-10-02T04:31:33.900Z","repository":{"id":143714839,"uuid":"350280046","full_name":"yoomoney/docker-artifact-publish-plugin","owner":"yoomoney","description":"Gradle plugin for publication of local Docker images to the registry.","archived":true,"fork":false,"pushed_at":"2022-04-11T13:11:10.000Z","size":126,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-11-16T03:39:28.125Z","etag":null,"topics":["backend","cicd","docker","gradle","gradle-plugin","kotlin","publishing"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yoomoney.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-22T09:18:45.000Z","updated_at":"2022-09-21T20:52:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"418d37f7-175a-4c3b-ac11-086ed14ff2eb","html_url":"https://github.com/yoomoney/docker-artifact-publish-plugin","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":0.4,"last_synced_commit":"a0ee54267de6730dfa285da727d81eb5bad2256e"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoomoney%2Fdocker-artifact-publish-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoomoney%2Fdocker-artifact-publish-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoomoney%2Fdocker-artifact-publish-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yoomoney%2Fdocker-artifact-publish-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yoomoney","download_url":"https://codeload.github.com/yoomoney/docker-artifact-publish-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234934596,"owners_count":18909696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","cicd","docker","gradle","gradle-plugin","kotlin","publishing"],"created_at":"2024-09-27T19:42:05.308Z","updated_at":"2025-10-02T04:31:33.579Z","avatar_url":"https://github.com/yoomoney.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.com/yoomoney/docker-artifact-publish-plugin.svg?branch=master)](https://travis-ci.com/yoomoney/docker-artifact-publish-plugin)\n[![codecov](https://codecov.io/gh/yoomoney/docker-artifact-publish-plugin/branch/master/graph/badge.svg)](https://codecov.io/gh/yoomoney/docker-artifact-publish-plugin)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# docker-artifact-publish-plugin\nPlugin that allows to publish local docker image to registry depending on gradle project version type.\n\n## Features\nIn order to publish docker image to one of configured registries you should execute `publish` task.\n\nDepending on a project version the plugin will publish a local image to one of configured registries:\n* snapshotRegistry - for a version ends with `-SNAPSHOT`\n* releaseRegistry - for all other versions\n\nAlso, the plugin stores published image id to `version.txt` file.\n\n## Image name format\nThe plugin requires the name of a local image to be in the following format before publishing: `groupId`/`artifactId`:`project.version`.\nWhere `groupId` and `artifactId` are values from `dockerArtifactPublish`plugin extension.\n\n## How to apply\nIn order to apply the plugin just add to `build.gradle`:\n\nUsing legacy plugin application:\n```groovy\nbuildscript {\n    repositories {\n        maven { \n            url \"https://plugins.gradle.org/m2/\" \n        }\n    }\n    dependencies {\n        classpath 'ru.yoomoney.gradle.plugins:docker-artifact-publish-plugin:1.+'\n    }\n}\napply plugin: 'ru.yoomoney.gradle.plugins.docker-artifact-publish-plugin'\n```\n\nUsing the plugin DSL:\n```groovy\nplugins {\n  id \"ru.yoomoney.gradle.plugins.docker-artifact-publish-plugin\" version \"1.0.0\"\n}\n```\n\n## Configuration example\n```groovy\ndockerArtifactPublish {\n    // Release (stable) registry URL needed to push images\n    releaseRegistry = \"\"\n    \n    // Snapshot (testing) registry URL needed to push images\n    snapshotRegistry = null\n    \n    // Registry username needed to push images\n    username = null\n    \n    // Registry password needed to push images\n    password = null\n    \n    // Maintainer email address\n    email = null\n    \n    // Artifact name\n    artifactId = null\n    \n    // Artifact group\n    groupId = null\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoomoney%2Fdocker-artifact-publish-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyoomoney%2Fdocker-artifact-publish-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyoomoney%2Fdocker-artifact-publish-plugin/lists"}