{"id":16179280,"url":"https://github.com/jonashackt/gitlab-ci-docker-socket-binding-example","last_synced_at":"2026-01-24T10:34:10.372Z","repository":{"id":147269815,"uuid":"204470359","full_name":"jonashackt/gitlab-ci-docker-socket-binding-example","owner":"jonashackt","description":"Example project using GitLab CI docker executor with binding the Host's Docker engine into it instead of using Docker-in-Docker (as with https://github.com/jonashackt/gitlab-ci-dind-example)","archived":false,"fork":false,"pushed_at":"2024-08-26T17:18:03.000Z","size":27,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T15:22:38.427Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/jonashackt.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":"2019-08-26T12:25:10.000Z","updated_at":"2021-07-28T15:53:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"413a8bc1-ac14-4f36-b276-cf638f368098","html_url":"https://github.com/jonashackt/gitlab-ci-docker-socket-binding-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonashackt/gitlab-ci-docker-socket-binding-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Fgitlab-ci-docker-socket-binding-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Fgitlab-ci-docker-socket-binding-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Fgitlab-ci-docker-socket-binding-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Fgitlab-ci-docker-socket-binding-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonashackt","download_url":"https://codeload.github.com/jonashackt/gitlab-ci-docker-socket-binding-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonashackt%2Fgitlab-ci-docker-socket-binding-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28725374,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T10:24:43.181Z","status":"ssl_error","status_checked_at":"2026-01-24T10:24:36.112Z","response_time":89,"last_error":"SSL_read: 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-10-10T05:26:34.361Z","updated_at":"2026-01-24T10:34:10.357Z","avatar_url":"https://github.com/jonashackt.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Example app for building inside GitLab CI - using Docker socket binding\n=============================\n\nThis GitLab CI example needs a corresponding GitLab runner configuration - see https://github.com/jonashackt/gitlab-ci-stack#configure-a-docker-socket-binding-enabled-gitlab-runner-with-the-docker-executor\n\nSee [.gitlab-ci.yml](.gitlab-ci.yml):\n\n```\n# One of the new trends in Continuous Integration/Deployment is to:\n# (see https://docs.gitlab.com/ee/ci/docker/using_docker_build.html)\n#\n# 1. Create an application image\n# 2. Run tests against the created image\n# 3. Push image to a remote registry\n# 4. Deploy to a server from the pushed image\n\nstages:\n  - build\n  - test\n  - push\n  - deploy\n\n# see usage of Namespaces at https://docs.gitlab.com/ee/user/group/#namespaces\nvariables:\n  REGISTRY_GROUP_PROJECT: $CI_REGISTRY/root/gitlab-ci-shell-example\n\n# see how to login at https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#using-the-gitlab-container-registry\nbefore_script:\n  - docker login -u $CI_REGISTRY_USER -p $CI_JOB_TOKEN $CI_REGISTRY\n\nbuild-image:\n  stage: build\n  # the tag 'shell' advices only GitLab runners using this tag to pick up that job\n  tags:\n    - shell\n  script:\n    - docker build . --tag $REGISTRY_GROUP_PROJECT/gitlab-ci-shell-example:latest\n\ntest-image:\n  stage: test\n  tags:\n    - shell\n  script:\n    - echo Insert fancy API test here!\n\npush-image:\n  stage: push\n  tags:\n    - shell\n  script:\n    - docker push $REGISTRY_GROUP_PROJECT/gitlab-ci-shell-example:latest\n\ndeploy-2-dev:\n  stage: deploy\n  tags:\n    - shell\n  script:\n    - echo You should use Ansible here!\n  environment:\n    name: dev\n    url: https://dev.jonashackt.io\n\n\n```\n\n### Swagger REST-API-Documentation\n\nStart the app and go to [http://localhost:8080/v2/api-docs](http://localhost:8080/v2/api-docs) to see all endpoints as JSON.\n\nUI-Documentation you will find under [http://localhost:8080/swagger-ui.html](http://localhost:8080/swagger-ui.html).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonashackt%2Fgitlab-ci-docker-socket-binding-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonashackt%2Fgitlab-ci-docker-socket-binding-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonashackt%2Fgitlab-ci-docker-socket-binding-example/lists"}