forked from milvus-io/milvus
-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (37 loc) · 1 KB
/
rhel-build.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: rhel-build
on:
workflow_dispatch:
env:
REGISTRY: quay.io
IMAGE_NAME: milvus
jobs:
rhel-build-and-push:
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
steps:
- name: Remove unnecessary files
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- uses: actions/checkout@v4.1.7
with:
repository: sallyom/milvus
ref: ubi-rh-build
- name: Install qemu dependency
run: |
sudo apt-get update
sudo apt-get install -y qemu-user-static
- name: Build Image
id: build_image
uses: redhat-actions/buildah-build@v2.13
with:
image: ${{ env.REGISTRY }}/redhat-et/${{ env.IMAGE_NAME }}
tags: ubi9.5
platforms: linux/amd64, linux/arm64
extra-args: |
--network=host
containerfiles: ./build/ubi/cpu/Dockerfile
#- name: Login to Registry
#- name: Push Image