ci/cd - remove load image in buildkit for ARM archs because of docker limitation

This commit is contained in:
florian 2023-04-30 11:47:44 +02:00
parent 8ffaa7cf79
commit 94dc501c17
No known key found for this signature in database
GPG Key ID: 3D80806F12602A7C
1 changed files with 2 additions and 1 deletions

View File

@ -102,11 +102,12 @@ jobs:
context: .
file: ${{ inputs.DOCKERFILE }}
platforms: ${{ inputs.ARCH }}
load: true
load: ${{ inputs.CACHE_SUFFIX != 'arm' }}
tags: local/${{ inputs.IMAGE }}
cache-to: type=registry,ref=bunkerity/cache:${{ inputs.IMAGE }}-${{ inputs.RELEASE }}-${{ inputs.CACHE_SUFFIX }},mode=min
# Check OS vulnerabilities
- name: Check OS vulnerabilities
if: ${{ inputs.CACHE_SUFFIX != 'arm' }}
uses: aquasecurity/trivy-action@master
with:
vuln-type: os