This repository provides a custom Docker image of OpenFGA with a default run command. This is specifically designed for use with GitHub Actions services, which currently don't support custom arguments.
GitHub Actions services don't yet support custom command arguments. The official OpenFGA image requires you to specify run as a command, which isn't possible in GitHub Actions service configurations.
This custom image sets CMD ["run"] as the default command, allowing you to use it directly in GitHub Actions services without any additional configuration.
services:
openfga:
image: armujahid/openfga_run:v1.10.3
env:
OPENFGA_DATASTORE_ENGINE: memory
ports:
- 8080:8080
- 8081:8081
Add the following secrets to your GitHub repository:
DOCKERHUB_USERNAME: Your Docker Hub usernameDOCKERHUB_TOKEN: Your Docker Hub access token (create one here)
v1.10.3)The workflow will:
vX.Y.Z, X.Y.Z, and latestlinux/amd64 and linux/arm64 platformsYou can manually check for new OpenFGA versions, or use the included helper script:
./check-new-version.sh
Test the image locally using docker-compose:
docker-compose up
This will:
run commandAccess the services:
Each published version creates three tags:
v1.10.3 - Full version with 'v' prefix1.10.3 - Version without 'v' prefixlatest - Points to the most recently published versionWhen bumping versions, ensure you're using the exact version tag from the official OpenFGA releases.
Content type
Image
Digest
sha256:a7f6f9404…
Size
25.3 MB
Last updated
5 months ago
docker pull armujahid/openfga_run