-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish images for service container #15
Comments
Essentially this would make this repo and its A corresponding directory structure and image naming scheme should be devised, e.g quick thinking:
Tooling ( |
Do we really need this? I think it is quite straightforward with a YAML as https://github.com/DataDog/images/blob/master/mirror.yaml defined them. images:
- source: "docker.io/library/postgres:9.6"
dest:
repo: "postgres"
tag: "9.6" Not sure how it is done or if we can leverage the existing https://github.com/DataDog/images to do this (we might just need a simplified versions of it). From what I understand, in order to build a mirror, we need a source and a destination and do something like: docker pull docker.io/repository/image:tag
docker tag docker.io/repository/image:tag ghcr.io/USERNAME/IMAGE:TAG
docker push ghcr.io/USERNAME/IMAGE:TAG Here is something interesting about https://github.com/DataDog/images
|
is literally equivalent to:
except the former is is Yet Another Format only consumable by some tool (for which you say "Not sure how it is done"), and the latter is both immediately usable by both our rake task and a raw docker command, and extensible should we need to add a patch or something. I'm thinking that we shouldn't even try to claim it's a 1:1 mirror† image: all a consumer should care about might be what the image provides. † hence the point of having the source in the path otherwise a consumer can't distinguish between |
Why
Pulling images from
ghcr.io
is more reliable for automations in Github Actions. It also avoid hitting the rate limit threshold for Dockerhub.Here is a list of images we used from https://github.com/DataDog/dd-trace-rb
datadog/agent
ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent:v1.12.0
elasticsearch:8.1.3
memcached:1.5-alpine
mongo:3.6
mysql:8.0
opensearchproject/opensearch:2.8.0
postgres:9.6
starburstdata/presto:332-e.9
redis:6.2
The text was updated successfully, but these errors were encountered: