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
47 changes: 47 additions & 0 deletions .github/workflows/build-devblobstore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build Dev/Test Blobstore Docker Image

on:
push:
branches:
- 'main'
paths:
- '.github/workflows/build-devblobstore.yml'

workflow_dispatch:

env:
MINIO_VERSION: latest

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Docker Build & Push
uses: docker/build-push-action@v6
env:
DOCKER_BUILD_NO_SUMMARY: true
with:
context: .
file: docker/devblobstore.Dockerfile
platforms: linux/amd64,linux/arm64
push: true
build-args: MINIO_VERSION=${{ env.MINIO_VERSION }}
tags: |
ghcr.io/ietf-tools/datatracker-devblobstore:${{ env.MINIO_VERSION }}
Comment thread
rjsparks marked this conversation as resolved.
ghcr.io/ietf-tools/datatracker-devblobstore:latest
9 changes: 9 additions & 0 deletions docker/devblobstore.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ARG MINIO_VERSION=latest
FROM quay.io/minio/minio:${MINIO_VERSION}
LABEL maintainer="IETF Tools Team <tools-discuss@ietf.org>"

ENV MINIO_ROOT_USER=minio_root
ENV MINIO_ROOT_PASSWORD=minio_pass
ENV MINIO_DEFAULT_BUCKETS=defaultbucket

CMD ["server", "--console-address", ":9001", "/data"]