set utf-8 encoded filenames #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push image | |
on: | |
push: | |
branches: ["main", "renovate/*"] | |
pull_request: | |
branches: ["main"] | |
env: | |
# Use docker.io for Docker Hub if empty | |
REGISTRY: ghcr.io | |
# github.repository as <account>/<repo> | |
IMAGE_NAME: ${{ github.repository }} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup S3 bucket | |
run: docker run -d -e MINIO_DEFAULT_BUCKETS=producer -p 9000:9000 bitnami/minio:latest | |
- name: Run tests | |
run: go test ./server | |
env: | |
PRODUCER_S3_ENDPOINT: localhost:9000 | |
PRODUCER_S3_KEYID: minio | |
PRODUCER_S3_SECRET: miniosecret |