Skip to content

Commit

Permalink
operator: build multi-arch images for peerpod-ctl
Browse files Browse the repository at this point in the history
Fixes: #1432

Signed-off-by: Qi Feng Huo <[email protected]>
  • Loading branch information
Qi Feng Huo committed Sep 14, 2023
1 parent 0544847 commit 55d1224
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/peerpod-ctrl_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,4 @@ jobs:
quay.io/confidential-containers/peerpod-ctrl:${{ github.sha }}
context: peerpod-ctrl
platforms: linux/s390x
build-args: |
-tags=aws,azure,ibmcloud,vsphere,libvirt

2 changes: 1 addition & 1 deletion peerpod-ctrl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM --platform=$TARGETPLATFORM quay.io/confidential-containers/golang-fedora:1.
ARG TARGETOS
ARG TARGETARCH
ARG CGO_ENABLED=1
ARG GOFLAGS
ARG GOFLAGS="-tags=aws,azure,ibmcloud,vsphere,libvirt"

WORKDIR /workspace
RUN if [ "$CGO_ENABLED" = 1 ] ; then dnf install -y libvirt-devel && dnf clean all; fi
Expand Down

0 comments on commit 55d1224

Please sign in to comment.