mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-07-11 06:33:04 +00:00
Add workaround patch for okd-builder.Dockerfile build failure (#1063)
Fix #1062
This commit is contained in:
parent
5bce250398
commit
855e8bee45
4
.github/workflows/image-build.yml
vendored
4
.github/workflows/image-build.yml
vendored
@ -121,6 +121,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Download OKD Builder Dockerfile
|
- name: Download OKD Builder Dockerfile
|
||||||
run: curl https://raw.githubusercontent.com/okd-project/images/main/okd-builder.Dockerfile -o images/okd-builder.Dockerfile
|
run: curl https://raw.githubusercontent.com/okd-project/images/main/okd-builder.Dockerfile -o images/okd-builder.Dockerfile
|
||||||
|
|
||||||
|
- name: Patch OKD Builder Dockerfile to workaround error
|
||||||
|
run: sed -i -e "s/yum install -y yum-utils/rpm --import \/etc\/pki\/rpm-gpg\/*;yum install -y yum-utils/" images/okd-builder.Dockerfile
|
||||||
|
|
||||||
- name: Organically build golang builder image
|
- name: Organically build golang builder image
|
||||||
run: docker build -t local/okdbuilder:latest -f images/okd-builder.Dockerfile .
|
run: docker build -t local/okdbuilder:latest -f images/okd-builder.Dockerfile .
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user