{"id":16992946,"url":"https://github.com/userbradley/action-docker","last_synced_at":"2026-04-12T22:04:11.090Z","repository":{"id":228087378,"uuid":"773153697","full_name":"userbradley/action-docker","owner":"userbradley","description":"Docker build action","archived":false,"fork":false,"pushed_at":"2024-06-17T09:49:07.000Z","size":18,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-27T05:49:40.682Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/userbradley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-03-16T22:25:05.000Z","updated_at":"2024-03-16T22:25:05.000Z","dependencies_parsed_at":"2024-03-17T03:41:22.714Z","dependency_job_id":"8edb10b3-2d65-4150-8c66-5e832f911410","html_url":"https://github.com/userbradley/action-docker","commit_stats":null,"previous_names":["userbradley/action-docker"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userbradley%2Faction-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userbradley%2Faction-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userbradley%2Faction-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/userbradley%2Faction-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/userbradley","download_url":"https://codeload.github.com/userbradley/action-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244907455,"owners_count":20529867,"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":[],"created_at":"2024-10-14T03:31:12.487Z","updated_at":"2026-04-12T22:04:11.050Z","avatar_url":"https://github.com/userbradley.png","language":null,"readme":"# GitHub Action: Docker build and push\n\nA GitHub action to build and push docker images\n\n\u003e [!NOTE]\n\u003e This is a highly specific docker action I use, so if you wish to use it, fork and adjust to suit your needs\n\n\n## Quick Start\n\n\n```yaml\non: [push]\nname: \"Docker build: \u003cname\u003e\"\n\njobs:\n  docker-build:\n    runs-on: ubuntu-latest\n    permissions:\n      id-token: write\n      contents: read\n    name: Docker Build\n    steps:\n      - uses: actions/checkout@v4.1.1\n      - name: Authenticate to Google\n        id: auth\n        uses: google-github-actions/auth@v2\n        with:\n          workload_identity_provider: projects/123456789/locations/global/workloadIdentityPools/my-pool/providers/my-provider\n          service_account: my-service-account@my-project.iam.gserviceaccount.com\n      - name: Log docker in to Google Container Store\n        uses: docker/login-action@v3.1.0\n        with:\n          registry: europe-west2-docker.pkg.dev\n          username: oauth2accesstoken\n          password: ${{ steps.auth.outputs.access_token }}\n      - name: Docker build\n        uses: userbradley/action-docker@v1.0.0\n        with:\n          googleProject: project\n          repository: repo\n          image: image\n          directory: containers/name\n```\n\n## Inputs\n\n\n| Name            | Description                                        | Required | Default Value     |\n|-----------------|----------------------------------------------------|----------|-------------------|\n| `googleProject` | Name of the google artifact registry project       | `true`   | `Null`            |\n| `repository`    | Name of the Artifact Registry Repository           | `true`   | `Null`            |\n| `image`         | Name of the Image to build                         | `true`   | `Null`            |\n| `directory`     | Name of the Directory that contains the Dockerfile | `false`  | `containers/name` |\n| `dockerfile`    | Name of the Dockerfile if not `Dockerfile`         | `false`  | `Dockerfile`      |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuserbradley%2Faction-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuserbradley%2Faction-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuserbradley%2Faction-docker/lists"}