Skip to content
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

Provice Docker image within ECR or Github registry #143

Open
tetienne-zenchef opened this issue Mar 5, 2024 · 2 comments
Open

Provice Docker image within ECR or Github registry #143

tetienne-zenchef opened this issue Mar 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@tetienne-zenchef
Copy link

In order to avoid this kind of error message when pulling your Docker image too many times within the CI

Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading

Can you please also push your docker image within https://gallery.ecr.aws or https://github.com/orgs/phrase/packages?ecosystem=docker ?

@theSoenke theSoenke added the enhancement New feature or request label Mar 7, 2024
@theSoenke
Copy link
Collaborator

Hi @tetienne-zenchef, we're looking into it to also push the image to GitHub packages. Depending on your usage maybe using the CLI directly is also an option? https://github.com/phrase/phrase-cli It's a statically linked binary and should quite easily run in most environments

@tetienne-zenchef
Copy link
Author

tetienne-zenchef commented Mar 7, 2024

@theSoenke thx for your answer. Indeed, we can also download directly the phrase-cli binary within our Docker image.
But one advantage of using the Docker image instead is that RenovateBot can open PRs to update its version.

FROM phrase/phrase-cli:2.22.0.0@sha256:00634548309c0b69a9351c34ccf67a3a6529a5bdac5d68415197ff64667e8db9 AS phrase
ARG VERSION ''
WORKDIR /var/www
COPY --link .phrase.yml ./
RUN phrase pull

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants