Merge pull request #1297 from sfackler/thick-arm

Build multiarch thick images
This commit is contained in:
Doug Smith 2024-08-01 09:35:58 -04:00 committed by GitHub
commit fd9736b527
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 22 additions and 11 deletions

View File

@ -35,8 +35,8 @@ jobs:
sbom: false sbom: false
provenance: false provenance: false
build-amd64-thick: build-thick:
name: Image build/amd64 thick plugin name: Image thick plugin
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
@ -50,8 +50,11 @@ jobs:
with: with:
context: . context: .
push: false push: false
tags: ghcr.io/${{ github.repository }}:latest-amd64-thick tags: ghcr.io/${{ github.repository }}:latest-thick
file: images/Dockerfile.thick file: images/Dockerfile.thick
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8,linux/ppc64le,linux/s390x
sbom: false
provenance: false
build-origin: build-origin:
name: Image build/origin name: Image build/origin

View File

@ -1,13 +1,13 @@
name: Image push for master name: Image push for master
on: on:
push: push:
branches: branches:
- master - master
env: env:
image-push-owner: 'k8snetworkplumbingwg' image-push-owner: 'k8snetworkplumbingwg'
jobs: jobs:
push-thick-amd64: push-thick:
name: Image push thick image/amd64 name: Image push thick image
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
@ -34,7 +34,9 @@ jobs:
ghcr.io/${{ github.repository }}:latest-thick ghcr.io/${{ github.repository }}:latest-thick
ghcr.io/${{ github.repository }}:snapshot-thick ghcr.io/${{ github.repository }}:snapshot-thick
file: images/Dockerfile.thick file: images/Dockerfile.thick
platforms: linux/amd64 platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8,linux/ppc64le,linux/s390x
sbom: false
provenance: false
push-thin: push-thin:
name: Image push thin image name: Image push thin image

View File

@ -1,13 +1,13 @@
name: Image push release name: Image push release
on: on:
push: push:
tags: tags:
- v* - v*
env: env:
image-push-owner: 'k8snetworkplumbingwg' image-push-owner: 'k8snetworkplumbingwg'
jobs: jobs:
push-thick-amd64: push-thick:
name: Image push thick image/amd64 name: Image push thick image
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out code into the Go module directory - name: Check out code into the Go module directory
@ -42,7 +42,9 @@ jobs:
ghcr.io/${{ github.repository }}:stable-thick ghcr.io/${{ github.repository }}:stable-thick
${{ steps.docker_meta.outputs.tags }}-thick ${{ steps.docker_meta.outputs.tags }}-thick
file: images/Dockerfile.thick file: images/Dockerfile.thick
platforms: linux/amd64 platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v8,linux/ppc64le,linux/s390x
sbom: false
provenance: false
push-thin: push-thin:
name: Image push thin image/amd64 name: Image push thin image/amd64

View File

@ -59,3 +59,7 @@ The following are the best practices for multus logging:
## Multus release schedule ## Multus release schedule
On the first maintainer's meeting, twice yearly, after January 1st and July 1st, if a new version has not been tagged, a new version will tagged. On the first maintainer's meeting, twice yearly, after January 1st and July 1st, if a new version has not been tagged, a new version will tagged.
## Multi-arch builds
Multus is currently built for a number of architectures, however, our testing and validation is only performed against x86 architectures. Our x86 architecture has end to end testing, however, for other architectures, only supported via best effort community contributions.