{"id":13682144,"url":"https://github.com/appleboy/drone-git-push","last_synced_at":"2025-04-05T04:12:25.290Z","repository":{"id":32670297,"uuid":"36258731","full_name":"appleboy/drone-git-push","owner":"appleboy","description":"Drone plugin for deploying code using git push","archived":false,"fork":false,"pushed_at":"2024-08-13T14:15:45.000Z","size":1102,"stargazers_count":66,"open_issues_count":9,"forks_count":36,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-29T19:59:46.658Z","etag":null,"topics":["docker","docker-image","drone","drone-plugin"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appleboy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.paypal.me/appleboy46"]}},"created_at":"2015-05-25T22:52:45.000Z","updated_at":"2024-10-26T22:05:00.000Z","dependencies_parsed_at":"2024-04-24T10:02:58.596Z","dependency_job_id":"2b305c7f-4e21-4143-8456-c8cdeea0b16f","html_url":"https://github.com/appleboy/drone-git-push","commit_stats":{"total_commits":185,"total_committers":27,"mean_commits":6.851851851851852,"dds":0.3405405405405405,"last_synced_commit":"ad145ca0454f864c70dd02647c6c2c05f004747a"},"previous_names":["drone-plugins/drone-git-push"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fdrone-git-push","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fdrone-git-push/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fdrone-git-push/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2Fdrone-git-push/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleboy","download_url":"https://codeload.github.com/appleboy/drone-git-push/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247284951,"owners_count":20913704,"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":["docker","docker-image","drone","drone-plugin"],"created_at":"2024-08-02T13:01:41.297Z","updated_at":"2025-04-05T04:12:25.271Z","avatar_url":"https://github.com/appleboy.png","language":"Go","funding_links":["https://www.paypal.me/appleboy46"],"categories":["Go"],"sub_categories":[],"readme":"# drone-git-push\n\n[繁體中文](README.zh-tw.md) | [简体中文](README.zh-cn.md)\n\n[![GoDoc](https://godoc.org/github.com/appleboy/drone-git-push?status.svg)](https://godoc.org/github.com/appleboy/drone-git-push)\n[![Lint and Testing](https://github.com/appleboy/drone-git-push/actions/workflows/testing.yml/badge.svg)](https://github.com/appleboy/drone-git-push/actions/workflows/testing.yml)\n[![codecov](https://codecov.io/gh/appleboy/drone-git-push/branch/master/graph/badge.svg)](https://codecov.io/gh/appleboy/drone-git-push)\n[![Go Report Card](https://goreportcard.com/badge/github.com/appleboy/drone-git-push)](https://goreportcard.com/report/github.com/appleboy/drone-git-push)\n[![Docker Pulls](https://img.shields.io/docker/pulls/appleboy/drone-git-push.svg)](https://hub.docker.com/r/appleboy/drone-git-push/)\n\n[Drone](https://www.drone.io/) / [Woodpecker](https://woodpecker-ci.org/) plugin to push changes to a remote `git` repository.\nFor the usage information and a listing of the available options please take a look at [the docs](DOCS.md).\n\n## Build\n\nBuild the binary with the following commands:\n\n```sh\ngo build\ngo test\n```\n\n## Docker\n\nBuild the docker image with the following commands:\n\n```sh\nGOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-git-push\ndocker build --rm -t appleboy/drone-git-push .\n```\n\n## Usage\n\nExecute from the working directory:\n\n```sh\ndocker run --rm \\\n  -e DRONE_COMMIT_AUTHOR=Octocat \\\n  -e DRONE_COMMIT_AUTHOR_EMAIL=octocat@github.com \\\n  -e PLUGIN_SSH_KEY=\"$(cat \"${HOME}/.ssh/id_rsa\")\" \\\n  -e PLUGIN_BRANCH=master \\\n  -e PLUGIN_REMOTE=git@github.com:foo/bar.git \\\n  -e PLUGIN_FORCE=false \\\n  -v \"$(pwd):$(pwd)\" \\\n  -w \"$(pwd)\" \\\n  appleboy/drone-git-push\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fdrone-git-push","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleboy%2Fdrone-git-push","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fdrone-git-push/lists"}