{"id":5898194,"name":"valitydev/action-deploy-docker","ecosystem":"actions","description":"Build and push artifacts to the Docker registry","homepage":null,"licenses":"apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/valitydev/action-deploy-docker","keywords_array":[],"namespace":"valitydev","versions_count":41,"first_release_published_at":"2021-11-29T11:01:11.000Z","latest_release_published_at":"2024-11-13T10:14:46.000Z","latest_release_number":"v2.0.19","last_synced_at":"2026-04-22T06:38:29.848Z","created_at":"2023-01-18T01:33:42.248Z","updated_at":"2026-04-22T06:38:29.848Z","registry_url":"https://github.com/valitydev/action-deploy-docker","install_command":null,"documentation_url":null,"metadata":{"name":"Publish docker image","description":"Build and push artifacts to the Docker registry","inputs":{"registry-username":{"description":"Username for image registry","required":true},"registry-access-token":{"description":"Access token for image registry","required":true},"docker-registry":{"description":"Docker registry","required":false,"default":"ghcr.io"},"context-path":{"description":"Build's context path","required":false,"default":"."},"dockerfile-path":{"description":"Path to the Dockerfile","required":false,"default":"./Dockerfile"},"push":{"description":"Push build image to the specified image registry?","required":false},"platforms":{"description":"List of target platforms for build","required":false},"use-env-buildargs":{"description":"Source docker build args from .env file?","required":false,"default":"true"}},"runs":{"using":"composite","steps":[{"name":"🎲 Configure action","id":"config","shell":"bash","run":"if [[ -n \"${{ inputs.push }}\" ]] ; then {\n  echo \"::set-output name=push::${{ inputs.push }}\"\n} else {\n  if [[ \"${{ github.event_name }}\" == \"push\" ]] ; then {\n    echo \"[INFO] (push = 'true') This is a push event, assuming image needs publishing.\"\n    echo \"::set-output name=push::true\"\n  } else {\n    echo \"[INFO] (push = 'false') This is PR event, image probably needs just to be built.\"\n    echo \"::set-output name=push::false\"\n  } fi\n} fi\nif [[ -n \"${{ inputs.platforms }}\" ]] ; then {\n  echo \"::set-output name=platforms::${{ inputs.platforms }}\"\n} else {\n  if [[ \"${{ github.event_name }}\" == \"push\" ]] ; then {\n    echo \"[INFO] (platforms = 'linux/amd64,linux/arm64') This is a push event, assuming multiplatform image.\"\n    echo \"::set-output name=platforms::linux/amd64,linux/arm64\"\n  } else {\n    echo \"[INFO] (platforms = 'linux/amd64') This is a PR event, just build an image under native platform.\"\n    echo \"::set-output name=platforms::linux/amd64\"\n  } fi\n} fi\nif ( git status -s ) ; then {\n  echo \"[INFO] (checkout = 'false') Working copy exists, no need to checkout.\"\n  echo \"::set-output name=checkout::false\"\n} else {\n  echo \"[INFO] (checkout = 'true') No working copy seems to exist in '${{ github.workspace }}',\"\\\n    \"need to checkout.\"\n  echo \"::set-output name=checkout::true\"\n} fi\n"},{"name":"🖨 Checkout code","if":"${{ steps.config.outputs.checkout == 'true' }}","uses":"actions/checkout@v4"},{"name":"💉 Set up buildargs","if":"${{ inputs.use-env-buildargs == 'true' }}","id":"buildargs","shell":"bash","run":"if [[ -f \".env\" ]] ; then {\n  echo 'BUILDARGS\u003c\u003cEOF' \u003e\u003e $GITHUB_ENV ;\n  grep -v '^#' .env \u003e\u003e $GITHUB_ENV ;\n  echo 'EOF' \u003e\u003e $GITHUB_ENV\n} else {\n  echo \"[NOTICE] No '.env' file to source buildargs from!\"\n} fi\n"},{"name":"🏗 Set up QEMU","if":"${{ steps.config.outputs.platforms != 'linux/amd64' }}","uses":"docker/setup-qemu-action@v3"},{"name":"🏗 Set up Docker Buildx","uses":"docker/setup-buildx-action@v3"},{"name":"🔓 Log in to the Container registry","if":"${{ steps.config.outputs.push == 'true' }}","uses":"docker/login-action@v3","with":{"registry":"${{ inputs.docker-registry }}","username":"${{ inputs.registry-username }}","password":"${{ inputs.registry-access-token }}"}},{"name":"ℹ️ Extract metadata (tags, labels) for Docker","id":"meta","uses":"docker/metadata-action@v5","with":{"images":"${{ inputs.docker-registry }}/${{ github.repository }}","tags":"type=sha,enable=${{ !startsWith(github.ref_name, 'epic') }}\ntype=raw,value=sha-{{ sha }}-{{ branch }},enable=${{ startsWith(github.ref_name, 'epic') }}\n"}},{"name":"🚀 Build and push Docker image","uses":"docker/build-push-action@v6","with":{"context":"${{ inputs.context-path }}","file":"${{ inputs.dockerfile-path }}","platforms":"${{ steps.config.outputs.platforms }}","push":"${{ steps.config.outputs.push == 'true' }}","tags":"${{ steps.meta.outputs.tags }}","labels":"${{ steps.meta.outputs.labels }}","build-args":"${{ env.BUILDARGS }}\n"}}]},"default_branch":"master","path":null},"repo_metadata":{"id":37020913,"uuid":"459070935","full_name":"valitydev/action-deploy-docker","owner":"valitydev","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-20T17:47:48.000Z","size":204,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-02-14T20:51:13.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/valitydev.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}},"created_at":"2022-02-14T08:13:06.000Z","updated_at":"2024-11-13T10:14:51.000Z","dependencies_parsed_at":"2024-11-13T11:21:27.732Z","dependency_job_id":"34e8cf96-7b33-490e-b361-4c14f5fd85b0","html_url":"https://github.com/valitydev/action-deploy-docker","commit_stats":{"total_commits":33,"total_committers":12,"mean_commits":2.75,"dds":0.6060606060606061,"last_synced_commit":"b9f11c7cdd345ea7fd62dbcc7d4adc41858bb627"},"previous_names":[],"tags_count":41,"template":false,"template_full_name":null,"purl":"pkg:github/valitydev/action-deploy-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valitydev%2Faction-deploy-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valitydev%2Faction-deploy-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valitydev%2Faction-deploy-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valitydev%2Faction-deploy-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valitydev","download_url":"https://codeload.github.com/valitydev/action-deploy-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valitydev%2Faction-deploy-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30537815,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T07:17:37.589Z","status":"ssl_error","status_checked_at":"2026-03-15T07:17:31.738Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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"},"tags":[]},"repo_metadata_updated_at":"2026-03-16T04:03:19.533Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":22,"rankings":{"downloads":null,"dependent_repos_count":9.006496593249881,"dependent_packages_count":0.0,"stargazers_count":48.54381239106323,"forks_count":35.29710030106164,"docker_downloads_count":null,"average":23.211852321343688},"purl":"pkg:githubactions/valitydev/action-deploy-docker","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/valitydev/action-deploy-docker","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/valitydev/action-deploy-docker","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/valitydev/action-deploy-docker/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-11-13T11:53:47.689Z","issues_count":3,"pull_requests_count":24,"avg_time_to_close_issue":11212979.333333334,"avg_time_to_close_pull_request":9369225.958333334,"issues_closed_count":3,"pull_requests_closed_count":24,"pull_request_authors_count":6,"issue_authors_count":2,"avg_comments_per_issue":65.33333333333333,"avg_comments_per_pull_request":0.4166666666666667,"merged_pull_requests_count":19,"bot_issues_count":3,"bot_pull_requests_count":14,"past_year_issues_count":0,"past_year_pull_requests_count":1,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":12872721.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":1,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/valitydev%2Faction-deploy-docker/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/valitydev%2Faction-deploy-docker/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/valitydev%2Faction-deploy-docker/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/valitydev%2Faction-deploy-docker/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/valitydev%2Faction-deploy-docker/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/valitydev%2Faction-deploy-docker/codemeta","maintainers":[]}