Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ jobs:
if: github.repository == 'casbin/casbin-server' && github.event_name == 'push' && steps.should_push.outputs.push=='true'
with:
target: STANDARD
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: casbin/casbin-server:${{steps.get-current-tag.outputs.tag }},casbin/casbin-server:latest
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ RUN curl -LjO https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.1
rm v3.17.3.zip

# Go environment variable to enable Go modules
ARG TARGETOS
ARG TARGETARCH
ENV GO111MODULE=on \
CGO_ENABLED=0 \
GOOS=linux \
GOARCH=amd64
GOOS=${TARGETOS} \
GOARCH=${TARGETARCH}

# Download dependencies
RUN go mod download
Expand Down
38 changes: 33 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
Casbin Server
====

[![GitHub Actions](https://github.com/casbin/casbin-server/actions/workflows/default.yml/badge.svg)](https://github.com/casbin/casbin-server/actions)
[![Docker](https://img.shields.io/docker/automated/casbin/casbin-server)](https://hub.docker.com/r/casbin/casbin-server/builds/)
[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/casbin/casbin-server?label=image%20version)](https://hub.docker.com/r/casbin/casbin-server/tags)
[![Coverage Status](https://coveralls.io/repos/github/casbin/casbin-server/badge.svg?branch=master)](https://coveralls.io/github/casbin/casbin-server?branch=master)
[![Godoc](https://godoc.org/github.com/casbin/casbin-server?status.svg)](https://godoc.org/github.com/casbin/casbin-server)
<p align="center">
<a href="#badge">
<img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg">
</a>
<a href="https://hub.docker.com/r/casbin/casbin-server">
<img alt="docker pull casbin/casbin-server" src="https://img.shields.io/docker/pulls/casbin/casbin-server.svg">
</a>
<a href="https://github.com/casbin/casbin-server/actions/workflows/default.yml">
<img alt="GitHub Workflow Status (branch)" src="https://github.com/casbin/casbin-server/workflows/Build/badge.svg?style=flat-square">
</a>
<a href="https://github.com/casbin/casbin-server/releases/latest">
<img alt="GitHub Release" src="https://img.shields.io/github/v/release/casbin/casbin-server.svg">
</a>
<a href="https://coveralls.io/github/casbin/casbin-server?branch=master">
<img alt="Coverage Status" src="https://coveralls.io/repos/github/casbin/casbin-server/badge.svg?branch=master">
</a>
<a href="https://hub.docker.com/r/casbin/casbin-server">
<img alt="Docker Image Version (latest semver)" src="https://img.shields.io/badge/Docker%20Hub-latest-brightgreen">
</a>
</p>

<p align="center">
<a href="https://goreportcard.com/report/github.com/casbin/casbin-server">
<img alt="Go Report Card" src="https://goreportcard.com/badge/github.com/casbin/casbin-server?style=flat-square">
</a>
<a href="https://github.com/casbin/casbin-server/blob/master/LICENSE">
<img src="https://img.shields.io/github/license/casbin/casbin-server?style=flat-square" alt="license">
</a>
<a href="https://discord.gg/5rPsrAzK7S">
<img alt="Discord" src="https://img.shields.io/discord/1022748306096537660?style=flat-square&logo=discord&label=discord&color=5865F2">
</a>
</p>


Casbin Server is the ``Access Control as a Service (ACaaS)`` solution based on [Casbin](https://github.com/casbin/casbin). It provides [gRPC](https://grpc.io/) interface for Casbin authorization.

Expand Down