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

specify the version number of the Docker image. #767

Open
miss-uny opened this issue Nov 7, 2024 · 2 comments
Open

specify the version number of the Docker image. #767

miss-uny opened this issue Nov 7, 2024 · 2 comments
Labels
waiting for feedback Awaiting user or team feedback.

Comments

@miss-uny
Copy link

miss-uny commented Nov 7, 2024

When deploying with Docker, it is necessary to specify the version number of the Docker image, such as 20241107001. However, if all Docker images are named "latest", it becomes impossible to roll back to the previous branch.

@Rader
Copy link
Collaborator

Rader commented Nov 8, 2024

@miss-uny please try to set the docker image version same with the release version like v1.0.0. For example:

# docker-compose.yml
...
  csghub_server:
    image: opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsg_public/csghub_server:v1.0.0
....

To check whether the v1.0.0 docker image exists:

docker  pull opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsg_public/csghub_server:v1.0.0

@jialudev jialudev added the needs more info Requires additional information label Jan 24, 2025
@jialudev
Copy link
Collaborator

When deploying with Docker, it is necessary to specify the version number of the Docker image, such as 20241107001. However, if all Docker images are named "latest", it becomes impossible to roll back to the previous branch.

Hi @miss-uny , I saw that Rader had provided a suggestion on the Docker image versioning issue. Were you able to get it working based on that? Let me know if you still need any help!

@jialudev jialudev added waiting for feedback Awaiting user or team feedback. and removed needs more info Requires additional information labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting for feedback Awaiting user or team feedback.
Projects
None yet
Development

No branches or pull requests

3 participants