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 · 1 comment
Open

specify the version number of the Docker image. #767

miss-uny opened this issue Nov 7, 2024 · 1 comment

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

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

No branches or pull requests

2 participants