Skip to content

Commit

Permalink
Merge pull request #83 from ashokpariya0/add-multiplatform-support
Browse files Browse the repository at this point in the history
Add multiplatform support for ipam-controller image.
  • Loading branch information
kubevirt-bot authored Jan 7, 2025
2 parents 1c98348 + a1fac94 commit 5931a27
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish-img.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ env:
REGISTRY: ghcr.io
IMAGE_NAME: kubevirt/ipam-controller
PASST_BINDING_CNI_IMAGE_NAME: kubevirt/passt-binding-cni
BUILD_PLATFORMS: linux/amd64,linux/arm64,linux/s390x

jobs:
push-amd64:
name: Image push/amd64
push-image:
name: Image push
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -53,6 +54,7 @@ jobs:
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
file: Dockerfile
platforms: ${{ env.BUILD_PLATFORMS }}

- name: Push latest passt binding cni container image
if: github.repository_owner == 'kubevirt'
Expand All @@ -73,6 +75,7 @@ jobs:
push: true
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
file: Dockerfile
platforms: ${{ env.BUILD_PLATFORMS }}

- name: Push stable passt binding cni container image
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 5931a27

Please sign in to comment.