{"id":17001256,"url":"https://github.com/zemuldo/docker-build-push","last_synced_at":"2025-08-08T14:24:13.642Z","repository":{"id":65162451,"uuid":"216214407","full_name":"zemuldo/docker-build-push","owner":"zemuldo","description":":recycle: 🐳  A GitHub action to build, tag and push images to Google Cloud Container Registry or Docker Registry","archived":false,"fork":false,"pushed_at":"2020-02-07T06:16:14.000Z","size":42,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-14T22:23:46.822Z","etag":null,"topics":["actions","docker-action","github-actions"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/zemuldo.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}},"created_at":"2019-10-19T13:55:18.000Z","updated_at":"2021-10-22T08:21:46.000Z","dependencies_parsed_at":"2023-01-04T12:39:08.158Z","dependency_job_id":null,"html_url":"https://github.com/zemuldo/docker-build-push","commit_stats":{"total_commits":76,"total_committers":1,"mean_commits":76.0,"dds":0.0,"last_synced_commit":"e7ac59b7de8afd8ca72fa0a6dd61753450873b1f"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemuldo%2Fdocker-build-push","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemuldo%2Fdocker-build-push/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemuldo%2Fdocker-build-push/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemuldo%2Fdocker-build-push/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zemuldo","download_url":"https://codeload.github.com/zemuldo/docker-build-push/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525753,"owners_count":21118747,"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":["actions","docker-action","github-actions"],"created_at":"2024-10-14T04:24:19.667Z","updated_at":"2025-04-12T06:20:46.392Z","avatar_url":"https://github.com/zemuldo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Login Build Tag Push\n\nGitHub action to build, tag and push images to Registry.\nYou can use this image with currently `docker.io` or any of Google Cloud Registries like `gcr.io`.\n\nConfiguration takes two inputs and environmental variable configurations of  your repository.\n\nBelow are some examples. This action will be published when fully polished.\n\n## Examples\n\nHere are examples of workflows that use this action on only push to master.\n\n### Push to Google Cloud Registry eg gcr.io\n\n```yml\nname: Build and Push\non: \n  push:\n      branches:    \n          - master\njobs:\n  build_publish_gcr:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v1\n\n    - name: Build and Push\n      uses: zemuldo/docker-build-push@master\n      env:\n        GCLOUD_PROJECT_ID: ${{ secrets.GCLOUD_PROJECT_ID }}\n        GCLOUD_AUTH: ${{ secrets.GCLOUD_AUTH }}\n        REGISTRY_URL: \"gcr.io\"\n      with:\n       image_name: \"my-image\"\n       image_tag: \"latest\"\n```\n\n### Pus to docker hub\n\n```yml\nname: Publish GRC\non: \n  push:\n      branches:    \n          - master\n          - develop\njobs:\n\n  build_publish_docker_hub:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@v1\n\n    - name: Build and Push\n      uses: zemuldo/docker-build-push@master\n      env:\n        DOCKER_USERNAME: \"docker_user_name\"\n        DOCKER_NAMESPACE: \"docker_name_space\"\n        DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}\n        REGISTRY_URL: \"docker.io\"\n      with:\n       image_name: \"my-image\"\n       image_tag: \"latest\"\n```\n\n## TODO\n\n- Add login to `docker.pkg.github.com`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzemuldo%2Fdocker-build-push","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzemuldo%2Fdocker-build-push","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzemuldo%2Fdocker-build-push/lists"}