forgejo-runner-act/pkg/container
Björn Brauer b910a42edf
Docker auth (#891)
* feat: read docker credentials from local docker config

* fix: url.Parse requires protocol

Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de>

* fix: docker decides by the existence of . or : if...

... the image is in a custom registry or not.

Co-authored-by: Björn Brauer <zaubernerd@zaubernerd.de>

* fix: make docker hostname detection more robust

* test: mock docker config for getImagePullOptions test

By default github actions have a docker config set with a token to pull
images from docker hub.

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>
2021-11-27 18:21:32 +00:00
..
testdata Docker auth (#891) 2021-11-27 18:21:32 +00:00
docker_auth.go Docker auth (#891) 2021-11-27 18:21:32 +00:00
docker_build.go Fixes (#856) 2021-11-03 11:47:09 -07:00
docker_images.go Close docker client (#789) 2021-10-24 16:50:43 +00:00
docker_images_test.go Update images, fix extrapath (#723) 2021-06-10 23:12:05 +00:00
docker_logger.go Fixes (#856) 2021-11-03 11:47:09 -07:00
docker_pull.go Docker auth (#891) 2021-11-27 18:21:32 +00:00
docker_pull_test.go Docker auth (#891) 2021-11-27 18:21:32 +00:00
docker_run.go Fix regex for GITHUB_ENV parsing (#893) 2021-11-19 17:36:50 +00:00
docker_run_test.go fix: rewrite how image env is merged (#828) 2021-09-27 19:01:14 +00:00
docker_volume.go Close docker client (#789) 2021-10-24 16:50:43 +00:00