Build multiarch thick images

This commit is contained in:
Steven Fackler 2024-06-12 12:46:29 -04:00
parent aff99fccc5
commit 572e4e05e3
No known key found for this signature in database
GPG Key ID: 408917B7276A5226
3 changed files with 18 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

@ -6,8 +6,8 @@ on:
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

@ -6,8 +6,8 @@ on:
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