casbin / casbin-server

Casbin as a Service (CaaS)
https://casbin.org/docs/service
Apache License 2.0
310 stars 101 forks source link

Publish each minor release to DockerHub #76

Closed hsluoyz closed 1 year ago

hsluoyz commented 1 year ago

See: https://hub.docker.com/r/casbin/casbin-server/tags

Casbin-Server should use a similar way like Casdoor:

casbin-bot commented 1 year ago

@tangyang9464 @JalinWang @imp2002

zhenglin-charlie-li commented 1 year ago

Interested in this!

I compared the Docker image at https://hub.docker.com/r/casbin/casbin-server/tags with the releases at https://github.com/casbin/casbin-server/releases. I found that the last docker image of casbin-server on Docker Hub was pushed one year ago, but the most recent release was published two weeks ago.

So, I would like to clarify: Is this issue about pushing a container image to Docker Hub when there is a release version?

To accomplish this, I believe we could create a new YML file in.github/workflows. Then, when Github Action detects a new release, let Github Action trigger Docker push. Will that work?