Sign inSign up

wktk/minio-server

By wktk

•Updated over 6 years ago
Archived

(deprecated) A MinIO server wrapper to use with GitHub Actions

Image
Integration & delivery
0

100K+

wktk/minio-server repository overview

⁠wktk/minio-server

A MinIO server wrapper to use with GitHub Actions.

https://github.com/wktk/minio-server⁠

Note

This repository is archived. GitHub Actions service containers now support command (and entrypoint), so a wrapper image is no longer needed. See Communicating with Docker service containers⁠.

The minio/minio image is no longer available on Docker Hub. You can use quay.io/minio/minio instead.

⁠Alternative

name: minio server example

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    services:
      minio:
        image: quay.io/minio/minio:RELEASE.2025-09-07T16-13-09Z
        ports:
          - 9000:9000
        env:
          MINIO_ROOT_USER: AKIAIOSFODNN7EXAMPLE
          MINIO_ROOT_PASSWORD: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
        command: server /data
        options: >-
          --health-cmd "curl -f http://localhost:9000/minio/health/live"
          --health-interval 5s
          --health-timeout 5s
          --health-retries 10
    env:
      AWS_ACCESS_KEY_ID: AKIAIOSFODNN7EXAMPLE
      AWS_SECRET_ACCESS_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
      AWS_DEFAULT_REGION: us-east-1
      AWS_ENDPOINT_URL: http://localhost:9000
    steps:
      - run: aws s3 mb s3://test-bucket
      - run: echo hello | aws s3 cp - s3://test-bucket/hello.txt
      - run: aws s3 cp s3://test-bucket/hello.txt - | grep -x hello
Old usage (wktk/minio-server image)

⁠Example Usage

name: minio server example

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    services:
      minio:
        image: wktk/minio-server
        ports:
          - 9000:9000
        env:
          MINIO_ACCESS_KEY: AKIAIOSFODNN7EXAMPLE
          MINIO_SECRET_KEY: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
    steps:
      - name: Add 127.0.0.1 minio to /etc/hosts (if you need)
        run: echo "127.0.0.1 minio" | sudo tee -a /etc/hosts

      - name: Do something
        run: echo "Fix me!"

⁠Dockerfile

FROM minio/minio:latest
CMD ["minio", "server", "/data"]

Tag summary

Content type

Image

Digest

Size

19.1 MB

Last updated

over 6 years ago

docker pull wktk/minio-server