mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-09-28 04:51:00 +00:00
Change github action to use ghcr.io
This commit is contained in:
@@ -13,6 +13,7 @@ RUN rpm --import https://mirror.go-repo.io/centos/RPM-GPG-KEY-GO-REPO && \
|
||||
./hack/build-go.sh
|
||||
|
||||
FROM centos:centos7
|
||||
LABEL org.opencontainers.image.source https://github.com/k8snetworkplumbingwg/multus-cni
|
||||
COPY --from=build /usr/src/multus-cni /usr/src/multus-cni
|
||||
WORKDIR /
|
||||
|
||||
|
@@ -12,6 +12,7 @@ RUN cd /usr/src/multus-cni && \
|
||||
|
||||
# build arm64 container
|
||||
FROM arm64v8/centos:7
|
||||
LABEL org.opencontainers.image.source https://github.com/k8snetworkplumbingwg/multus-cni
|
||||
COPY --from=build /usr/src/multus-cni /usr/src/multus-cni
|
||||
|
||||
WORKDIR /
|
||||
|
@@ -8,6 +8,7 @@ ENV GO111MODULE=off
|
||||
RUN ./hack/build-go.sh
|
||||
|
||||
FROM openshift/origin-base
|
||||
LABEL org.opencontainers.image.source https://github.com/k8snetworkplumbingwg/multus-cni
|
||||
RUN mkdir -p /usr/src/multus-cni/images && mkdir -p /usr/src/multus-cni/bin
|
||||
COPY --from=builder /usr/src/multus-cni/bin/multus /usr/src/multus-cni/bin
|
||||
ADD ./images/entrypoint.sh /
|
||||
|
@@ -17,6 +17,7 @@ RUN rpm --import https://mirror.go-repo.io/centos/RPM-GPG-KEY-GO-REPO && \
|
||||
|
||||
# build ppc container
|
||||
FROM ppc64le/centos:latest
|
||||
LABEL org.opencontainers.image.source https://github.com/k8snetworkplumbingwg/multus-cni
|
||||
COPY --from=build /usr/src/multus-cni /usr/src/multus-cni
|
||||
|
||||
WORKDIR /
|
||||
|
@@ -12,6 +12,7 @@ RUN cd /usr/src/multus-cni && \
|
||||
|
||||
# build s390x container
|
||||
FROM s390x/python:3-slim
|
||||
LABEL org.opencontainers.image.source https://github.com/k8snetworkplumbingwg/multus-cni
|
||||
COPY --from=build /usr/src/multus-cni /usr/src/multus-cni
|
||||
WORKDIR /
|
||||
ADD ./images/entrypoint.sh /
|
||||
|
Reference in New Issue
Block a user