ci: dev/test blobstore image (#8431)
* ci: dev/test blobstore image * chore: removed QEMU step
This commit is contained in:
parent
03d6d598ed
commit
ad56d42d9c
47
.github/workflows/build-devblobstore.yml
vendored
Normal file
47
.github/workflows/build-devblobstore.yml
vendored
Normal file
|
@ -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 }}
|
||||||
|
ghcr.io/ietf-tools/datatracker-devblobstore:latest
|
9
docker/devblobstore.Dockerfile
Normal file
9
docker/devblobstore.Dockerfile
Normal file
|
@ -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"]
|
Loading…
Reference in a new issue