mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-07 17:31:35 +00:00
Skip manifest creation if single arch/platform is provided (#88)
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
72b90216e8
commit
5ca1dab81f
5 changed files with 34 additions and 19 deletions
8
.github/workflows/multiarch.yml
vendored
8
.github/workflows/multiarch.yml
vendored
|
@ -56,8 +56,8 @@ jobs:
|
|||
uses: ./buildah-build/
|
||||
with:
|
||||
image: ${{ env.IMAGE_NAME }}
|
||||
tags: ${{ env.IMAGE_TAG }}
|
||||
archs: amd64, ppc64le, arm64
|
||||
tags: latest v1
|
||||
archs: amd64 # Single arch testcase
|
||||
containerfiles: |
|
||||
./Containerfile
|
||||
|
||||
|
@ -80,10 +80,6 @@ jobs:
|
|||
run: |
|
||||
podman run --rm ${{ steps.build_image_multiarch.outputs.image }}:${{ env.IMAGE_TAG }}
|
||||
|
||||
- name: Check manifest
|
||||
run: |
|
||||
buildah manifest inspect ${{ steps.build_image_multiarch.outputs.image }}:${{ env.IMAGE_TAG }}
|
||||
|
||||
build-multiplatform-containerfile:
|
||||
name: Build multi-platform image using Containerfile
|
||||
env:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue