diff --git a/.github/workflows/_build_image.yml b/.github/workflows/_build_image.yml index f4b94fc0..5e5b5155 100644 --- a/.github/workflows/_build_image.yml +++ b/.github/workflows/_build_image.yml @@ -91,15 +91,16 @@ jobs: BUILD_ARGS="$BUILD_ARGS --build-arg $temp" done <<< "${{ inputs.build_args }}" - docker build \ + docker buildx build \ --no-cache \ --platform linux/amd64 \ + --provenance=false \ + --sbom=false \ + --push \ -f ${{ inputs.dockerfile_path }} \ $BUILD_ARGS \ -t $IMAGE_URI \ ${{ inputs.build_context }} - - docker push $IMAGE_URI - name: Resolve image digest id: digest