Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
codedge committed Oct 5, 2024
1 parent 83a3b00 commit c30a94a
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,29 @@ This repository provides an image to be used either for local testing or for Git

It extends the default [minio/minio](https://hub.docker.com/r/minio/minio) image.

The stay up to date with the base Minio image, this image here is update every day.
The stay up to date with the base Minio image, this image here is update every day.

## How to use

See the example below how to use the image in a Github workflow.

```yaml
name: Test
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
services:
minio:
image: ghcr.io/hedge10/minio-gh-workflow:latest
ports:
- 9000:9000
env:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: miniopassword123
options: --name=minio --health-cmd "curl -I http://localhost:9000/minio/health/live"
name: Tests
steps:
- name: Checkout
uses: actions/checkout@v3
```

0 comments on commit c30a94a

Please sign in to comment.