{"id":13581751,"url":"https://github.com/drone/drone-kaniko","last_synced_at":"2026-02-07T09:09:20.846Z","repository":{"id":42039313,"uuid":"313334383","full_name":"drone/drone-kaniko","owner":"drone","description":"Drone plugin for building and publishing Docker images","archived":false,"fork":false,"pushed_at":"2026-01-20T13:11:06.000Z","size":306,"stargazers_count":62,"open_issues_count":10,"forks_count":62,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-20T18:01:10.280Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":false,"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/drone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-11-16T14:50:43.000Z","updated_at":"2026-01-20T12:33:43.000Z","dependencies_parsed_at":"2024-01-14T06:34:19.465Z","dependency_job_id":"b48b3a2a-edf8-4fdf-ba52-da55407f8277","html_url":"https://github.com/drone/drone-kaniko","commit_stats":null,"previous_names":[],"tags_count":77,"template":false,"template_full_name":null,"purl":"pkg:github/drone/drone-kaniko","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fdrone-kaniko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fdrone-kaniko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fdrone-kaniko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fdrone-kaniko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drone","download_url":"https://codeload.github.com/drone/drone-kaniko/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fdrone-kaniko/sbom","scorecard":{"id":356646,"data":{"date":"2025-08-11","repo":{"name":"github.com/drone/drone-kaniko","commit":"ae33ce93b8eef9c1f71ad2ea8c7372af9c35750a"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":2,"reason":"3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":9,"reason":"Found 29/30 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-2918 / GHSA-m5vv-6r4h-3vj9","Warn: Project is vulnerable to: GO-2022-0635","Warn: Project is vulnerable to: GO-2022-0646","Warn: Project is vulnerable to: GO-2025-3553 / GHSA-mh63-6h87-95cp","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: docker/acr/Dockerfile.linux.amd64:1: pin your Docker image by updating harnesscommunity/kaniko-executor:1.25.0-linux-amd64 to harnesscommunity/kaniko-executor:1.25.0-linux-amd64@sha256:872918d0bb185bdc33b632f8021dfd03da2a453588723205da3a36907902ed66","Warn: containerImage not pinned by hash: docker/acr/Dockerfile.linux.arm64:1: pin your Docker image by updating harnesscommunity/kaniko-executor:1.25.0-linux-arm64 to harnesscommunity/kaniko-executor:1.25.0-linux-arm64@sha256:b746f08800343174c5cce8d1e65a8a376a3897b9d7885d7b30026635c1417854","Warn: containerImage not pinned by hash: docker/docker/Dockerfile.linux.amd64:1: pin your Docker image by updating harnesscommunity/kaniko-executor:1.25.0-linux-amd64 to harnesscommunity/kaniko-executor:1.25.0-linux-amd64@sha256:872918d0bb185bdc33b632f8021dfd03da2a453588723205da3a36907902ed66","Warn: containerImage not pinned by hash: docker/docker/Dockerfile.linux.amd64.kaniko1.9.1:1: pin your Docker image by updating gcr.io/kaniko-project/executor:v1.9.1 to gcr.io/kaniko-project/executor:v1.9.1@sha256:23ae6ccaba2b0f599966dbc5ecf38aa4404f4cd799add224167eaf285696551a","Warn: containerImage not pinned by hash: docker/docker/Dockerfile.linux.arm64:1: pin your Docker image by updating harnesscommunity/kaniko-executor:1.25.0-linux-arm64 to harnesscommunity/kaniko-executor:1.25.0-linux-arm64@sha256:b746f08800343174c5cce8d1e65a8a376a3897b9d7885d7b30026635c1417854","Warn: containerImage not pinned by hash: docker/docker/Dockerfile.linux.arm64.kaniko1.9.1:1: pin your Docker image by updating gcr.io/kaniko-project/executor:v1.9.1 to gcr.io/kaniko-project/executor:v1.9.1@sha256:23ae6ccaba2b0f599966dbc5ecf38aa4404f4cd799add224167eaf285696551a","Warn: containerImage not pinned by hash: docker/ecr/Dockerfile.linux.amd64:1: pin your Docker image by updating harnesscommunity/kaniko-executor:1.25.0-linux-amd64 to harnesscommunity/kaniko-executor:1.25.0-linux-amd64@sha256:872918d0bb185bdc33b632f8021dfd03da2a453588723205da3a36907902ed66","Warn: containerImage not pinned by hash: docker/ecr/Dockerfile.linux.amd64.kaniko1.9.1:1: pin your Docker image by updating gcr.io/kaniko-project/executor:v1.9.1 to gcr.io/kaniko-project/executor:v1.9.1@sha256:23ae6ccaba2b0f599966dbc5ecf38aa4404f4cd799add224167eaf285696551a","Warn: containerImage not pinned by hash: docker/ecr/Dockerfile.linux.arm64:1: pin your Docker image by updating harnesscommunity/kaniko-executor:1.25.0-linux-arm64 to harnesscommunity/kaniko-executor:1.25.0-linux-arm64@sha256:b746f08800343174c5cce8d1e65a8a376a3897b9d7885d7b30026635c1417854","Warn: containerImage not pinned by hash: docker/ecr/Dockerfile.linux.arm64.kaniko1.9.1:1: pin your Docker image by updating gcr.io/kaniko-project/executor:v1.9.1 to gcr.io/kaniko-project/executor:v1.9.1@sha256:23ae6ccaba2b0f599966dbc5ecf38aa4404f4cd799add224167eaf285696551a","Warn: containerImage not pinned by hash: docker/gar/Dockerfile.linux.amd64:1: pin your Docker image by updating harnesscommunity/kaniko-executor:1.25.0-linux-amd64 to harnesscommunity/kaniko-executor:1.25.0-linux-amd64@sha256:872918d0bb185bdc33b632f8021dfd03da2a453588723205da3a36907902ed66","Warn: containerImage not pinned by hash: docker/gar/Dockerfile.linux.amd64.kaniko1.9.1:1: pin your Docker image by updating gcr.io/kaniko-project/executor:v1.9.1 to gcr.io/kaniko-project/executor:v1.9.1@sha256:23ae6ccaba2b0f599966dbc5ecf38aa4404f4cd799add224167eaf285696551a","Warn: containerImage not pinned by hash: docker/gar/Dockerfile.linux.arm64:1: pin your Docker image by updating harnesscommunity/kaniko-executor:1.25.0-linux-arm64 to harnesscommunity/kaniko-executor:1.25.0-linux-arm64@sha256:b746f08800343174c5cce8d1e65a8a376a3897b9d7885d7b30026635c1417854","Warn: containerImage not pinned by hash: docker/gar/Dockerfile.linux.arm64.kaniko1.9.1:1: pin your Docker image by updating gcr.io/kaniko-project/executor:v1.9.1 to gcr.io/kaniko-project/executor:v1.9.1@sha256:23ae6ccaba2b0f599966dbc5ecf38aa4404f4cd799add224167eaf285696551a","Warn: containerImage not pinned by hash: docker/gcr/Dockerfile.linux.amd64:1: pin your Docker image by updating gcr.io/kaniko-project/executor:v1.23.2 to gcr.io/kaniko-project/executor:v1.23.2@sha256:9e69fd4330ec887829c780f5126dd80edc663df6def362cd22e79bcdf00ac53f","Warn: containerImage not pinned by hash: docker/gcr/Dockerfile.linux.amd64.kaniko1.9.1:1: pin your Docker image by updating gcr.io/kaniko-project/executor:v1.9.1 to gcr.io/kaniko-project/executor:v1.9.1@sha256:23ae6ccaba2b0f599966dbc5ecf38aa4404f4cd799add224167eaf285696551a","Warn: containerImage not pinned by hash: docker/gcr/Dockerfile.linux.arm64:1: pin your Docker image by updating gcr.io/kaniko-project/executor:v1.23.2 to gcr.io/kaniko-project/executor:v1.23.2@sha256:9e69fd4330ec887829c780f5126dd80edc663df6def362cd22e79bcdf00ac53f","Warn: containerImage not pinned by hash: docker/gcr/Dockerfile.linux.arm64.kaniko1.9.1:1: pin your Docker image by updating gcr.io/kaniko-project/executor:v1.9.1 to gcr.io/kaniko-project/executor:v1.9.1@sha256:23ae6ccaba2b0f599966dbc5ecf38aa4404f4cd799add224167eaf285696551a","Info:   0 out of  18 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-18T09:45:43.061Z","repository_id":42039313,"created_at":"2025-08-18T09:45:43.061Z","updated_at":"2025-08-18T09:45:43.061Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29190842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-08-01T15:02:13.362Z","updated_at":"2026-02-07T09:09:20.834Z","avatar_url":"https://github.com/drone.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# drone-kaniko\n\nDrone kaniko plugin uses [kaniko](https://github.com/GoogleContainerTools/kaniko) to build and publish Docker images to a container registry.\n\nPlugin images are published with 1.6.0 as well as 1.9.1 kaniko version from 1.5.1 release tag. `plugins/kaniko:\u003crelease-tag\u003e` uses 1.6.0 version while `plugins/kaniko:\u003crelease-tag\u003e-kaniko1.9.1` uses 1.9.1 version. Similar convention is used for plugins/kaniko-ecr \u0026 plugins/kaniko-gcr images as well.\n\nRun the following script to install git-leaks support to this repo.\n\n```\nchmod +x ./git-hooks/install.sh\n./git-hooks/install.sh\n```\n\n## Build\n\nBuild the binaries with the following commands:\n\n```console\nexport GOOS=linux\nexport GOARCH=amd64\nexport CGO_ENABLED=0\nexport GO111MODULE=on\n\ngo build -v -a -tags netgo -o release/linux/amd64/kaniko-docker ./cmd/kaniko-docker\ngo build -v -a -tags netgo -o release/linux/amd64/kaniko-gcr ./cmd/kaniko-gcr\ngo build -v -a -tags netgo -o release/linux/amd64/kaniko-ecr ./cmd/kaniko-ecr\ngo build -v -a -tags netgo -o release/linux/amd64/kaniko-acr ./cmd/kaniko-acr\n```\n\n## Docker\n\nBuild the Docker images with the following commands:\n\n```console\ndocker build \\\n  --label org.label-schema.build-date=$(date -u +\"%Y-%m-%dT%H:%M:%SZ\") \\\n  --label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \\\n  --file docker/docker/Dockerfile.linux.amd64 --tag plugins/kaniko .\n\ndocker build \\\n  --label org.label-schema.build-date=$(date -u +\"%Y-%m-%dT%H:%M:%SZ\") \\\n  --label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \\\n  --file docker/acr/Dockerfile.linux.amd64 --tag plugins/kaniko-acr .\n\ndocker build \\\n  --label org.label-schema.build-date=$(date -u +\"%Y-%m-%dT%H:%M:%SZ\") \\\n  --label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \\\n  --file docker/gcr/Dockerfile.linux.amd64 --tag plugins/kaniko-gcr .\n\ndocker build \\\n  --label org.label-schema.build-date=$(date -u +\"%Y-%m-%dT%H:%M:%SZ\") \\\n  --label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \\\n  --file docker/ecr/Dockerfile.linux.amd64 --tag plugins/kaniko-ecr .\n```\n\n### Enhanced Build Arguments Support\n\nThe drone-kaniko plugin now supports an improved build arguments system with the `CustomStringSliceFlag` implementation. This feature provides a more flexible way to pass multiple build arguments to your Docker builds.\n\n#### Multiple Build Arguments with Semicolon Delimiter\n\nA new custom CLI flag type that allows passing multiple build arguments using semicolon (`;`) as a delimiter. This flag is available across all registry implementations:\n\n- `kaniko-docker`\n- `kaniko-gcr` (Google Container Registry)\n- `kaniko-ecr` (Amazon Elastic Container Registry)\n- `kaniko-acr` (Azure Container Registry)\n- `kaniko-gar` (Google Artifact Registry)\n\n**Usage:**\n\n```console\ndocker run --rm \\\n    -e PLUGIN_BUILD_ARGS_NEW=\"ARG1=value1;ARG2=value2;ARG3=value3\" \\\n    -e PLUGIN_REPO=foo/bar \\\n    -v $(pwd):/drone \\\n    -w /drone \\\n    plugins/kaniko:linux-amd64\n```\n\n#### For build args containing commas\n\nWhen your build arguments contain commas, enable the `PLUGIN_MULTIPLE_BUILD_ARGS` flag:\n\n```console\ndocker run --rm \\\n    -e PLUGIN_MULTIPLE_BUILD_ARGS=true \\\n    -e PLUGIN_BUILD_ARGS_NEW=\"KEY1=value,with,comma;KEY2=another,value\" \\\n    -e PLUGIN_REPO=foo/bar \\\n    -v $(pwd):/drone \\\n    -w /drone \\\n    plugins/kaniko:linux-amd64\n```\n\n## Usage\n\n### Operation Modes\n\nDefault Mode (Build and Push):\n\nWhen neither `no_push` nor `push_only` is provided. Plugin builds and pushes the Docker image to a container registry.\n\nBuild-Only Mode (no-push):\n\nWhen `no_push` is true and `destination_tar_path` is defined.\nPlugin performs only the image build operation and saves the resulting image tarball to the specified `destination_tar_path`\nIt does not push the image to any registry.\n\nPush-Only Mode (push-only):\n\nWhen `push_only` is true and `source_tar_path` is defined.\nPlugin loads an existing image tarball from the specified `source_tar_path`\nand pushes the loaded image to a Container Registry.\nIt skips the build process.\n\n### Mutually Exclusive Inputs\n\nIf both `no_push` and `push_only` inputs are provided, the plugin will:\n\nTerminate the operation and\nthrow an error with the message: \"Inputs no-push and push-only cannot be used together. Please define only one.\"\n\n### Manual Tagging\n\n```console\ndocker run --rm \\\n    -e PLUGIN_TAGS=1.2,latest \\\n    -e PLUGIN_DOCKERFILE=/drone/Dockerfile \\\n    -e PLUGIN_REPO=foo/bar \\\n    -e PLUGIN_USERNAME=foo \\\n    -e PLUGIN_PASSWORD=bar \\\n    -v $(pwd):/drone \\\n    -w /drone \\\n    plugins/kaniko:linux-amd64\n```\n\nWith expanded tagging enabled, semantic versions can be passed to PLUGIN_TAGS directly for expansion.\n\n**Note**: this feature only works for build labels. Artifact labels are not supported.\n\n```console\ndocker run --rm \\\n    -e PLUGIN_TAGS=v1.2.3,latest \\\n    -e PLUGIN_EXPAND_TAG=true \\\n    -v $(pwd):/drone \\\n    -w /drone \\\n    plugins/kaniko:linux-amd64\n```\n\nwould both be equivalent to\n\n```\nPLUGIN_TAGS=1,1.2,1.2.3,latest\n```\n\nThis allows for passing `$DRONE_TAG` directly as a tag for repos that use [semver](https://semver.org) tags.\n\nTo avoid confusion between repo tags and image tags, `PLUGIN_EXPAND_TAG` also recognizes a semantic version\nwithout the `v` prefix. As such, the following is also equivalent to the above:\n\n```console\ndocker run --rm \\\n    -e PLUGIN_TAGS=1.2.3,latest \\\n    -e PLUGIN_EXPAND_TAG=true \\\n    -v $(pwd):/drone \\\n    -w /drone \\\n    plugins/kaniko:linux-amd64\n```\n\n### Auto Tagging\n\nThe [auto tag feature](https://plugins.drone.io/drone-plugins/drone-docker) of docker plugin is also supported.\n\nWhen auto tagging is enabled, if any of the case is matched below, a docker build will be pushed with auto generated tags. Otherwise the docker build will be skipped.\n\n**Note**: this feature only works for build labels. Artifact labels are not supported.\n\n#### Git Tag Push:\n\n```console\ndocker run --rm \\\n    -e DRONE_COMMIT_REF=refs/tags/v1.2.3 \\\n    -e PLUGIN_REPO=foo/bar \\\n    -e PLUGIN_USERNAME=foo \\\n    -e PLUGIN_PASSWORD=bar \\\n    -e PLUGIN_AUTO_TAG=true \\\n    -v $(pwd):/drone \\\n    -w /drone \\\n    plugins/kaniko:linux-amd64\n```\n\nTags to push:\n\n- 1.2.3\n- 1.2\n- 1\n\n#### Git Commit Push in default branch:\n\n```console\ndocker run --rm \\\n    -e DRONE_COMMIT_REF=refs/heads/master \\\n    -e DRONE_REPO_BRANCH=main \\\n    -e PLUGIN_REPO=foo/bar \\\n    -e PLUGIN_USERNAME=foo \\\n    -e PLUGIN_PASSWORD=bar \\\n    -e PLUGIN_AUTO_TAG=true \\\n    -v $(pwd):/drone \\\n    -w /drone \\\n    plugins/kaniko:linux-amd64\n```\n\nTags to push:\n\n- latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrone%2Fdrone-kaniko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrone%2Fdrone-kaniko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrone%2Fdrone-kaniko/lists"}