Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multiplatform support for ipam-controller image. #83

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
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
Loading