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
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI - Build Images

on:
pull_request:
branches:
- master

jobs:
build-images:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- name: device-plugin
target: build-device-plugin
- name: labeller
target: build-labeller
- name: ubi-device-plugin
target: build-ubi-device-plugin
- name: ubi-labeller
target: build-ubi-labeller
name: build (${{ matrix.name }})
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build ${{ matrix.name }}
run: make ${{ matrix.target }}
3 changes: 3 additions & 0 deletions labeller.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ RUN echo "738E, 01, AMD Instinct MI100" >> /go/src/github.com/ROCm/k8s-device-
RUN echo "73A2, C0, AMD Radeon Pro W6900X" >> /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller/amdgpu.ids
RUN echo "73AB, C0, AMD Radeon Pro W6800X" >> /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller/amdgpu.ids
RUN echo "74BC, 00, AMD Instinct MI308X HF VF" >> /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller/amdgpu.ids
RUN echo "7551, C1, AMD Radeon AI PRO R9700S" >> /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller/amdgpu.ids
RUN echo "7551, C8, AMD Radeon AI PRO R9600D" >> /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller/amdgpu.ids
RUN echo "744A, 00, AMD Radeon PRO W7900 Dual Slot" >> /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller/amdgpu.ids

FROM alpine:3.23.4
LABEL \
Expand Down
3 changes: 3 additions & 0 deletions ubi-labeller.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ RUN echo "738E, 01, AMD Instinct MI100" >> /go/src/github.com/ROCm/k8s-device-
RUN echo "73A2, C0, AMD Radeon Pro W6900X" >> /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller/amdgpu.ids
RUN echo "73AB, C0, AMD Radeon Pro W6800X" >> /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller/amdgpu.ids
RUN echo "74BC, 00, AMD Instinct MI308X HF VF" >> /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller/amdgpu.ids
RUN echo "7551, C1, AMD Radeon AI PRO R9700S" >> /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller/amdgpu.ids
RUN echo "7551, C8, AMD Radeon AI PRO R9600D" >> /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller/amdgpu.ids
RUN echo "744A, 00, AMD Radeon PRO W7900 Dual Slot" >> /go/src/github.com/ROCm/k8s-device-plugin/cmd/k8s-node-labeller/amdgpu.ids

FROM registry.access.redhat.com/ubi9/ubi-minimal:9.8
LABEL \
Expand Down
Loading