diff --git a/.github/actions/docker/action.yaml b/.github/actions/docker/action.yaml index 495222f7249..459a3fe6c4c 100644 --- a/.github/actions/docker/action.yaml +++ b/.github/actions/docker/action.yaml @@ -190,7 +190,9 @@ runs: platforms: ${{ inputs.platform }} secret-files: | AWS=${{ env.HOME }}/.aws/credentials - build-args: ${{ steps.sccache.outputs.env_vars }} + build-args: | + CARGO_BUILD_PROFILE=${{ inputs.cargo_profile }} + ${{ steps.sccache.outputs.env_vars }} cache-from: ${{ steps.layer_cache_settings.outputs.cache_from }} cache-to: ${{ steps.layer_cache_settings.outputs.cache_to }} outputs: type=image,name=${{ inputs.image_org }}/${{ inputs.image_name }},push-by-digest=${{ inputs.push_tags != 'true' }},name-canonical=true,push=true